lkml.org 
[lkml]   [1999]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectre: RasterMan on linux and threads

On Fri, 17 Dec 1999, Stephen Frost wrote:

> No, pthreads changed that, from my understanding. linuxthreads did
> it all in one thing w/o ever actually calling the kernel 'clone'. pthreads
> properly calles 'clone' and therefore each thread gets it's own PID and as
> such can be scheduled on any CPU. (Well, that's not the direct reason, but
> you know what I mean).

LinuxThreads was using clone() ever since it became production quality. I
do not know what you mean by 'pthreads', if you mean glibc's pthread.h
API, that is the merged-in LinuxThreads code. (which merge was done some 2
years ago)

> [...] The first
> threading in Linux was done all in user-space, IIRC. Which meant that it
> couldn't because a single process (to the kernel) won't get multiple CPUs.

a clone() capable LinuxThreads has been around for at least 3 years.

-- mingo


-
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:55    [W:0.213 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site