[Python-Dev] Thread problems on Linux

Guido van Rossum guido@beopen.com
Mon, 04 Sep 2000 10:40:58 -0500


> The pthread model does not map will into the Linux clone model.  The
> standard seems to assume that threads are implemented as a process.
> Linus is adding some extra features in 2.4 which may help (thread
> groups).  We will see if the glibc maintainers can make use of these.
> 
> I'm thinking of creating a thread_linux header file.  Do you think that
> would be a good idea?  clone() seems to be pretty easy to use although
> it is quite low level.

This seems nice at first, but probably won't work too well when you
consider embedding Python in applications that use the Posix threads
library.

--Guido van Rossum (home page: http://www.pythonlabs.com/~guido/)