Revision 45e32a00
ID | 45e32a0020aeb2cec6fdad288d492210e583a35d |
Add ObjectPool class in synnefo.lib
Add ObjectPool class in synnefo.lib.
The ObjectPool class is an abstract pool of objects,
based on Semaphore locks, as provided by the threading
package.
Tested to work with a gevent-monkey-patched threading package.
Uncomment the relevant lines in pool/tests.py to test with greenlet
contexts.
Files
- added
- modified
- copied
- renamed
- deleted