cpython/Demo/threads
Guido van Rossum 4550b00c80 Fix bit rot: use sock.connect((host, port)) and allow 2nd cmd line
arg.
2000-12-14 22:12:33 +00:00
..
Coroutine.py Add 1994 Coroutine module by Tim Peters 2000-11-08 15:17:49 +00:00
Generator.py Initial revision 1994-05-03 14:15:01 +00:00
README Add 1994 Coroutine module by Tim Peters 2000-11-08 15:17:49 +00:00
bug.py Initial revision 1994-05-16 09:35:22 +00:00
fcmp.py Add 1994 Coroutine module by Tim Peters 2000-11-08 15:17:49 +00:00
find.py Add a sleep(0.00001) call to make sure all threads run. 1998-03-26 20:09:16 +00:00
squasher.py Add 1994 Coroutine module by Tim Peters 2000-11-08 15:17:49 +00:00
sync.py nannified 1998-09-14 16:44:15 +00:00
telnet.py Fix bit rot: use sock.connect((host, port)) and allow 2nd cmd line 2000-12-14 22:12:33 +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).

Coroutine.py	Coroutines using threads, by Tim Peters (22 May 94)
fcmp.py		Example of above, by Tim
squasher.py	Another example of above, also by Tim