From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 4 16:57:26 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE012106566C for ; Tue, 4 Aug 2009 16:57:26 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id AF40C8FC1A for ; Tue, 4 Aug 2009 16:57:26 +0000 (UTC) (envelope-from des@des.no) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id C24236D418; Tue, 4 Aug 2009 16:57:25 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 97CB384495; Tue, 4 Aug 2009 18:57:25 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Ed Schouten References: <319cceca0908030119i3432a495ya60aa431dab0e1b1@mail.gmail.com> <86k51k4kvl.fsf@ds4.des.no> <86fxc84ksj.fsf@ds4.des.no> <200908040138.14743.max@love2party.net> <319cceca0908040227hf9a0f92jbf05b11e9f974994@mail.gmail.com> <20090804093036.GN1292@hoeg.nl> Date: Tue, 04 Aug 2009 18:57:25 +0200 In-Reply-To: <20090804093036.GN1292@hoeg.nl> (Ed Schouten's message of "Tue, 4 Aug 2009 11:30:36 +0200") Message-ID: <86ab2f34ay.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Maslan , FreeBSD Hackers , Max Laier Subject: Re: sosend() and mbuf X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2009 16:57:27 -0000 Ed Schouten writes: > Maslan writes: > > However, when i checked the pid & tid of the new created thread it > > was not the same as the parent nor as the proc0 & thread0 > I am not sure, but sharing another process's address space doesn't have > to imply it shares the same pid, right? The man page explicitly states that if no process is specified, the new thread is assigned to proc0, which has a valid filedesc table, valid creds etc., so this shouldn't be a problem. However, he's getting a different PID, which shouldn't happen. Either the man page is wrong, or things were different in 7. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no