From owner-cvs-all@FreeBSD.ORG Fri Sep 24 21:00:07 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD71816A4CE; Fri, 24 Sep 2004 21:00:07 +0000 (GMT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12FB843D4C; Fri, 24 Sep 2004 21:00:07 +0000 (GMT) (envelope-from j@uriah.heep.sax.de) Received: from sax.sax.de (localhost [127.0.0.1]) by sax.sax.de (8.12.10/8.12.10) with ESMTP id i8OL061A016221; Fri, 24 Sep 2004 23:00:06 +0200 (CEST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.12.10/8.12.10/Submit) with UUCP id i8OL05Ux016220; Fri, 24 Sep 2004 23:00:05 +0200 (CEST) (envelope-from j@uriah.heep.sax.de) Received: from uriah.heep.sax.de (localhost.heep.sax.de [127.0.0.1]) by uriah.heep.sax.de (8.12.10/8.12.10) with ESMTP id i8OKt43R000540; Fri, 24 Sep 2004 22:55:04 +0200 (MET DST) (envelope-from j@uriah.heep.sax.de) Received: (from j@localhost) by uriah.heep.sax.de (8.12.10/8.12.10/Submit) id i8OKt3qb000538; Fri, 24 Sep 2004 22:55:03 +0200 (MET DST) (envelope-from j) Date: Fri, 24 Sep 2004 22:55:03 +0200 From: Joerg Wunsch To: John Baldwin Message-ID: <20040924225503.D96751@uriah.heep.sax.de> References: <200409241958.i8OJwm8Y051147@repoman.freebsd.org> <200409241633.06963.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200409241633.06963.jhb@FreeBSD.org>; from jhb@FreeBSD.org on Fri, Sep 24, 2004 at 04:33:06PM -0400 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-GnuPG-Fingerprint: 5E84 F980 C3CA FD4B B584 1070 F48C A81B 69A8 5873 X-Spam-Status: No, hits=-4.9 required=7.5 tests=BAYES_00 autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on uriah.heep.sax.de cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/man/man9 kthread.9 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Joerg Wunsch List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2004 21:00:07 -0000 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. ;-)