Re: Q: Status of pthreads support?

Guido.van.Rossum@cwi.nl
Wed, 10 Aug 1994 15:09:31 +0200

> What's the status of the pthreads stuff? I was hoping it might make
> it into 1.0.3.

I didn't put any new features in 1.0.3 -- but the work has been done!
You can ftp it from ftp://ftp.cwi.nl/pub/python/threads.tar.gz. Just
untar this into the python root directory. You need to do:

./configure --with-thread
make clean
(edit Modules/Setup to enable the thread module)
make

I reworked the thread.c file (splitting it in different files per
system) and Tim Peters wrote a pthreads version which worked with
KSR's pthreads implementation (based on pthreads draft 5). I don't
think I could get this to work with the Florida State University
pthreads implementation for SunOS 4.x.x (based on draft 6) but maybe I
remember it wrong, and maybe it's just my lack of understanding of the
pthreads compile time options :-) Anyway there are also working
versions of Python threads (not based on pthreads) for Solaris 2.x
threads and for IRIX 4 / IRIX 5 threads.

--Guido van Rossum, CWI, Amsterdam <Guido.van.Rossum@cwi.nl>
<URL:http://www.cwi.nl/cwi/people/Guido.van.Rossum.html>