lkml.org 
[lkml]   [1999]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Threads in linux, contd
On Thu, Sep 02, 1999 at 11:32:15PM +0100, Matthew Kirkwood wrote:
> On Thu, 2 Sep 1999, Vladimir Dergachev wrote:
>
> > * was this situation always this way (i.e. 2.0.*, 2.2.* and 2.3.*)
>
> Yes.

Well sort of. Linus always planned to do threads this way, but its only
been relatively recently that working pthread libraries have appeared to
take advantage of it. For a long time linux'es pthread implementation was
implemented in user space and all threads ran inside of 1 process. I think
this was still the case when we switched from a.out to ELF libraries. At
some point Xavier Leroy wrote a clone() based pthread implementation that
is the basis of what we use today. I do not think that it was a part of
libc5, but you could patch up a libc5 system to use it. Xavier's package
is a standard part of glibc, so you have a reasonable pthreads implementation
on all newer Linux distributions.

Jim

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.057 / U:0.764 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site