[Zope-Checkins] CVS: Zope2 - test_Sync.py:1.4 test_ThreadLock.py:1.4

jeremy@digicool.com jeremy@digicool.com
Mon, 19 Feb 2001 14:18:54 -0500 (EST)


Update of /cvs-repository/Zope2/lib/Components/ExtensionClass/test
In directory korak.digicool.com:/tmp/cvs-serv8770

Modified Files:
	test_Sync.py test_ThreadLock.py 
Log Message:
Modify tests so they run more quickly.  

Modify tests so that thread execution is actually interleaved; the old
version ended up having one thread run to completion, then the next, etc.

Use explicit counter to keep track of child threads, rather than
counting on long sleep to be long enough.