[parisc-linux] glibc pthreads actual threads?

Matthew Wilcox willy@debian.org
Mon, 19 May 2003 17:32:45 +0100


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