cpython/Demo/threads
Guido van Rossum f4e13a4563 Add 1994 Coroutine module by Tim Peters 2000-11-08 15:17:49 +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 Don't use thread.exit_prog; let child die if EOF read 1994-05-16 09:30:26 +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