skip to navigation
skip to content

Not Logged In

threadpool 1.2.7

Easy to use object-oriented thread pool framework

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
threadpool-1.2.7-py2.6.egg (md5) Python Egg 2.6 2009-10-07 12KB
threadpool-1.2.7.tar.bz2 (md5) Source 2009-10-07 33KB
threadpool-1.2.7.zip (md5) Source 2009-10-07 71KB
  • Downloads (All Versions):
  • 80 downloads in the last day
  • 530 downloads in the last week
  • 3241 downloads in the last month