cpython/Demo/threads
Guido van Rossum a6970580d1 Added optional lock parameter to condition class.
Added mrsw (multiple-reader-single-writer) lock.
1994-05-18 08:14:04 +00:00
..
Generator.py
README Added bug.py and condition.py 1994-05-16 09:35:01 +00:00
bug.py Initial revision 1994-05-16 09:35:22 +00:00
find.py Fixed for stricter argument matching rules 1994-05-16 09:26:24 +00:00
sync.py Added optional lock parameter to condition class. 1994-05-18 08:14:04 +00:00
telnet.py Don't use thread.exit_prog; let child die if EOF read 1994-05-16 09:30:26 +00:00
wpi.py Don't use thread.exit_prog(); set a global variable to stop other 1994-05-16 09:34:05 +00:00

README

This directory contains some demonstrations of the thread module.
This module is only available, optionally, for a few platforms: SGI
IRIX 4 and IRIX 5, SunOS 4 (not completely functioning), Solaris 2,
and supposedly any platform that supports Posix Threads (currently
only tested with KSR's implementation).  See ../../Python/thread.c.

These are mostly "proof of concept" type applications:

bug.py		Demonstrate a bug with importing modules in threads.
condition.py	Condition variables test by Tim Peters.
find.py		Parallelized "find(1)" (looks for directories).
Generator.py	Generator class implemented with threads.
telnet.py	Version of ../sockets/telnet.py using threads.
wpi.py		Version of ../scripts/pi.py using threads and stdwin.