Welcome to ftp.nluug.nl Current directory: /pub/os/Linux/distr/salix/sbo/14.1/python/threadpool/ |
|
Contents of README: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 then 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. |
Name Last modified Size
Parent Directory - README 07-Jan-2014 18:20 707 slack-desc 07-Jan-2014 18:20 1.1K threadpool.SlackBuild 07-Jan-2014 18:20 2.6K threadpool.info 30-Jan-2014 06:31 341
NLUUG - Open Systems. Open Standards
Become a member
and get discounts on conferences and more, see the NLUUG website!