Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install threadpool

How to install threadpool

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install threadpool
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.2.7 Available View build log
Windows (64-bit)
1.2.7 Available View build log
Mac OS X (10.5+)
1.2.7 Available View build log
Linux (32-bit)
1.2.7 Available View build log
Linux (64-bit)
1.2.7 Available View build log
 
License
MIT license
Imports
Lastest release
version 1.2.7 on Jan 5th, 2011

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.

System Message: ERROR/3 (<string>, line 12)

Content block expected for the "note" directive; none found.

.. note::

System Message: WARNING/2 (<string>, line 13)

Explicit markup ends without a blank line; unexpected unindent.

This module is regarded as an extended example, not as a finished product. Feel free to adapt it too your needs.

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:2

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.