cvs commit: src/sys/dev/fdc fdc.c fdcvar.h

John Baldwin jhb at
Fri Sep 24 12:14:36 PDT 2004

On Thursday 23 September 2004 09:45 pm, M. Warner Losh wrote:
> In message: <200409232135.31918.jhb at>
>             John Baldwin <jhb at> writes:
> : What about someone else's interrupt preempting you?
> Do others sleep on the thread pointer?  Are there other wakeups in the
> system that could wake up the msleep than in the exit1() code?
> Warner

There are other wakeups on the proc pointer (not thread) for things like 
PPWAIT but kthread's don't use PPWAIT (vfork(2) semantics basically).  
However, the ambiguity there is why I would like to change that interface so 
that kthread_exit() takes a condition variable as a pointer perhaps.

John Baldwin <jhb at>  <><
"Power Users Use the Power to Serve"  =

More information about the cvs-src mailing list