Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Sep 2004 22:55:03 +0200
From:      Joerg Wunsch <j@uriah.heep.sax.de>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/share/man/man9 kthread.9
Message-ID:  <20040924225503.D96751@uriah.heep.sax.de>
In-Reply-To: <200409241633.06963.jhb@FreeBSD.org>; from jhb@FreeBSD.org on Fri, Sep 24, 2004 at 04:33:06PM -0400
References:  <200409241958.i8OJwm8Y051147@repoman.freebsd.org> <200409241633.06963.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040924225503.D96751>