Easy to use object-oriented thread pool framework
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file threadpool-1.3.0.zip
.
File metadata
- Download URL: threadpool-1.3.0.zip
- Upload date:
- Size: 69.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f6471e380a7447cbfaa832234cd64c5c14df6ad1c357b30160c9c721bb50e25 |
|
MD5 | b48ce5241a914fa45964c5c7ea2ef1cd |
|
BLAKE2b-256 | 413c3cd4313e582b2edd460ce8397f3c74a0b33d719d650b44cf5ca9108a34f4 |
File details
Details for the file threadpool-1.3.0.tar.bz2
.
File metadata
- Download URL: threadpool-1.3.0.tar.bz2
- Upload date:
- Size: 32.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 965cdb1e03b28562fc71e422ad759a3d9cb5ebfdbe2c685c9628eeffc8417799 |
|
MD5 | 281585d5446179cb95360865c53b1af1 |
|
BLAKE2b-256 | dfde8bb6bfed9bca85b9097b581540f0a3a0f128fb79620c6a3c8c8cb49bce1e |
File details
Details for the file threadpool-1.3.0-py2.7.egg
.
File metadata
- Download URL: threadpool-1.3.0-py2.7.egg
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9578a011cf102461ff9355aa03d2b86a22c6368c6478387069b0ae1f2061f0ee |
|
MD5 | a5b39a2b1cc88db22a9826623fee682c |
|
BLAKE2b-256 | 4b08fc6e931a6aa655cfa9cf43fd989a511a06df0fcba6e9d0b8cc3e818c892c |
File details
Details for the file threadpool-1.3.0-py2-none-any.whl
.
File metadata
- Download URL: threadpool-1.3.0-py2-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e5c5e3dc0d1602b9a0e26bb8b7b1dcf098f081a048cdf2e4f322f861840cdab |
|
MD5 | 57872b50bb4edc00eab88338c893f741 |
|
BLAKE2b-256 | 16b3f83eeec99a2631e62095b29b546879cae8a30af529db9eb51c56ac88f085 |