cpython/Demo/threads
Guido van Rossum 6c3a2cbc52 whrandom -> random 1998-05-20 17:13:01 +00:00
..
Generator.py Initial revision 1994-05-03 14:15:01 +00:00
README Removed condition.py -- it was just sync.py without 1998-02-14 03:11:38 +00:00
bug.py Initial revision 1994-05-16 09:35:22 +00:00
find.py Add a sleep(0.00001) call to make sure all threads run. 1998-03-26 20:09:16 +00:00
sync.py whrandom -> random 1998-05-20 17:13:01 +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.

These are mostly "proof of concept" type applications:

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