Hi,

I noticed that p9p has threadpin() and threadunpin() in its thread
library... they claim to make the current thread the only one runnable
in this proc. I'm failing to see the purpose of these... a thread is
not subject to preemptive scheduling, it can achieve the same effect
by not calling yield(), right?

Also, these two functions aren't in p9's libthread... is there any
reason why not (assuming those two have a purpose)?

Thanks,
-- vs

Reply via email to