cvs commit: src/share/man/man9 kthread.9

Joerg Wunsch j at uriah.heep.sax.de
Fri Sep 24 14:00:07 PDT 2004


As John Baldwin wrote:

> It's not the thread handle, it's the proc pointer:
> 
>         /*
>          * If this is a kthread, then wakeup anyone waiting for it to exit.
>          */
>         if (p->p_flag & P_KTHREAD)
>                 wakeup(p);

Isn't that the "thread handle" in case the proc is actually a thread?

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


More information about the cvs-src mailing list