[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multithread facilities under Linux




On Wed, 31 Mar 1999, Daniel Feiglin wrote:

> As near as I can figure out, if you want to do serious multithread
> programming under
> Linux (say upto 2.0.36 = RH 5.2) you need to use an external pthreads
> library, several of which are
> available (no fork/vfork/clone please!). Does anyone know whether these
> things have been
> incorporated into the newer 2.2.x kernels e.g. RH 5.9/6.0 etc?

i don't _know_ this in particular, but i _assume_ that it did not occure
yet. the clone system call was inserted especially in order to allow the
creation of "light weight processes" and to be used by multi threading
libraries.

in any case, the programming interface won't change even if/when "real
threads" will be supported by the kernel, so unless you're looking for
this for performance reasons, why do you care how it's done?

(as far as i understood, the one thing that's not handled according to the
 current pthreads standard, is delivery of signals to threads. at least
 that was the case when using LinuxThreads v0.7).

guy