[Zope-Checkins] CVS: Zope2 - ThreadUtil.py:1.1.2.1 UnitTests.py:1.1.2.1 __init__.py:1.1.2.1
tseaver@digicool.com
tseaver@digicool.com
Thu, 1 Jun 2000 22:38:37 -0400
Update of /cvs-repository/Zope2/lib/python/Shared/Util
In directory korak.digicool.com:/home/tseaver/zhead/lib/python/Shared/DC/Util
Added Files:
Tag: ZEO-Dev
ThreadUtil.py UnitTests.py __init__.py
Log Message:
Two modules-without-a-home:
* ThreadUtil.py:
- ThreadIOU, a class for "futures" passed from one thread to another.
- ThreadsafeCounter, a naive counter object (could be optimized using
platform-specific interlocked-increment APIs).
* UnitTests.py:
A framework for simple, automatic regression testing of Python
modules. See ThreadUtil.py for and example of usage.