Re: Threads?

Chet Murthy (murthy@cs.cornell.edu)
Tue, 27 Sep 1994 10:54:52 -0400

>>>>> "GvR" == Guido van Rossum <Guido.van.Rossum@cwi.nl> writes:

GvR> Tim Peters did a pthreads version of the thread.c file which
GvR> will be in 1.1 (out really soon now). I had some trouble
GvR> getting it to work under SunOS 4.1.3 (Tim's port was for a
GvR> KSR machine with a pthread version based on a lightly
GvR> different draft) but that's probably mostly my own lack of
GvR> knowledge anout pthreads.

I got it to work, but it required turning off "readline". I guess I
should check the readline library, to see what's blocking. But for
the moment, I got the "find" and the "telnet" demos both working.

I would suspect that there are other demos which would break when run
in a multi-threaded environment. But it looks like it works. I used
the most current FSU pthreads implementation, linked with their
modified malloc, and python 1.0.3.

GvR> There's a full Sun RPC interface somewhere in the Demo
GvR> directory (Demo/rpc?) and a few other RPC like things
GvR> elsewhere in the Demo dir.

Wunderbar! I didn't even notice! I'll have to check it out!

Also, are there details of the Python virtual machine written up
somewhere?

--chet--