Return-Path: Received: from www.linux.org.uk (parcelfarce.linux.theplanet.co.uk [195.92.249.252]) by dsl2.external.hp.com (Postfix) with ESMTP id CB0B04829 for ; Mon, 19 May 2003 10:32:46 -0600 (MDT) Received: from willy by www.linux.org.uk with local (Exim 4.14) id 19HnZ7-0004jt-4E; Mon, 19 May 2003 17:32:45 +0100 Date: Mon, 19 May 2003 17:32:45 +0100 From: Matthew Wilcox To: Joel Soete Cc: parisc-linux@lists.parisc-linux.org, debian-hppa@lists.debian.org Subject: Re: [parisc-linux] glibc pthreads actual threads? Message-ID: <20030519163245.GN16608@parcelfarce.linux.theplanet.co.uk> References: <3EC761CD0000080F@ocpmta2.freegates.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <3EC761CD0000080F@ocpmta2.freegates.net> Sender: parisc-linux-admin@lists.parisc-linux.org Errors-To: parisc-linux-admin@lists.parisc-linux.org List-Help: List-Post: List-Subscribe: , List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: On Mon, May 19, 2003 at 06:27:41PM +0200, Joel Soete wrote: > But notice a very strange behaviour: > _the pid is not the same for each thread_ ?? > > Having just a small sunos 5.8 with gcc-3.2.2 (but with native libpthread) > the pb does not occurs? > > Is it a limit of glibc (in general or in 2.3 only?) for all linux or only > hppa? it's a limit of your understanding ;-) POSIX specifies both behaviours are legitimate. -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk