[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Modulo function
"Randall C. O'Reilly" wrote:
> cntr gets initialized in SchedProcess::InitLinks, so it should be
> set.. perhaps you have a process type that overloads InitLinks but
> doesn't call SchedProcess::InitLinks..
I think something's broken becos I looked at processes in bp++ and cs++
and these also have cntr pointing at NULL. Perhaps there are problems
with GetOff() which SchedProcess::InitLinks calls?
In the meantime, what's the proper way to manually set the cntr pointer?
taBase::SetPointer((TAPtr*)&cntr, &(super_proc->epoch)) doesn't seem to do