threadpool 1.2.5
Easy to use object-oriented thread pool framework
Latest Version: 1.2.7
A thread pool is an object that maintains a pool of worker threads to perform time consuming operations in parallel. It assigns jobs to the threads by putting them in a work request queue, where they are picked up by the next available thread. This then performs the requested operation in the background and puts the results in another queue.
The thread pool object can then collect the results from all threads from this queue as soon as they become available or after all threads have finished their work. It's also possible, to define callbacks to handle each result as it comes in.
Note
This module is regarded as an extended example, not as a finished product. Feel free to adapt it too your needs.
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| threadpool-1.2.5.zip (md5) | Source | 2008-11-19 17:42:40 | 69KB | 282 | |
| threadpool-1.2.5.tar.bz2 (md5) | Source | 2008-11-19 17:42:40 | 32KB | 203 | |
| threadpool-1.2.5-py2.5.egg (md5) | Python Egg | 2.5 | 2008-11-19 17:42:40 | 12KB | 240 |
- Author: Christopher Arndt <chris at chrisarndt de>
- Home Page: http://chrisarndt.de/projects/threadpool/
- Download URL: http://chrisarndt.de/projects/threadpool/download/
- Keywords: threads,design pattern,thread pool
- License: MIT license
- Platform: POSIX,Windows,MacOS X
-
Categories
- Development Status :: 5 - Production/Stable
- Intended Audience :: Developers
- License :: OSI Approved :: Python Software Foundation License
- Operating System :: MacOS :: MacOS X
- Operating System :: Microsoft :: Windows
- Operating System :: POSIX
- Programming Language :: Python
- Topic :: Software Development :: Libraries :: Python Modules
- Package Index Owner: strogon14
- DOAP record: threadpool-1.2.5.xml
Log in to rate this package.
