cpython/Demo/threads
Martin Blais 215f13dd11 Normalized a few cases of whitespace in function declarations.
Found them using::

  find . -name '*.py' | while read i ; do grep 'def[^(]*( ' $i /dev/null ; done
  find . -name '*.py' | while read i ; do grep ' ):' $i /dev/null ; done

(I was doing this all over my own code anyway, because I'd been using spaces in
all defs, so I thought I'd make a run on the Python code as well.  If you need
to do such fixes in your own code, you can use xx-rename or parenregu.el within
emacs.)
2006-06-06 12:46:55 +00:00
..
Coroutine.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
Generator.py Whitespace normalization. Had to break guido's lock on rev 1.1 to do 2004-07-18 16:56:37 +00:00
README Remove bug.py. This is something I sent to Guido via email in or before 2002-03-25 06:55:57 +00:00
fcmp.py Normalized a few cases of whitespace in function declarations. 2006-06-06 12:46:55 +00:00
find.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +00:00
squasher.py Add more complete reference. Change a co.back() call to co.tran() -- 2001-03-22 13:36:11 +00:00
sync.py fix error message; closes SF patch #932796 2004-05-12 03:15:07 +00:00
telnet.py Replace backticks with repr() or "%r" 2004-02-12 17:35:32 +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.
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