cvs commit: src/sys/dev/fdc fdc.c fdcvar.h
John Baldwin
jhb at FreeBSD.org
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 FreeBSD.org>
>
> John Baldwin <jhb at FreeBSD.org> 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 FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the cvs-src
mailing list