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 Distribution
File details
Details for the file threadpool-1.2.7.zip
.
File metadata
- Download URL: threadpool-1.2.7.zip
- Upload date:
- Size: 73.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8762162d2d68c671e1a6f72e043b4e8dd29c7f7e57700ba6df50feee07303894 |
|
MD5 | d6c66c99b459b9707bbf54e7761658a2 |
|
BLAKE2b-256 | 5d76eb267048b647d9fdb1fce5a198404f9ce6f02807c57b7c1b5e32d9d6423c |
File details
Details for the file threadpool-1.2.7.tar.bz2
.
File metadata
- Download URL: threadpool-1.2.7.tar.bz2
- Upload date:
- Size: 34.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 538539b3783acc7f7b2bbb5611bd66e98e5026ae665f014e8bd5da19dbb55acf |
|
MD5 | e1d5a4f73440ed701dfd0b3eb0d9c1ca |
|
BLAKE2b-256 | 75e63706cceb25272fcfa6664769bea200869a81144ab5fa9daeb27f8fde6eac |
File details
Details for the file threadpool-1.2.7-py2.6.egg
.
File metadata
- Download URL: threadpool-1.2.7-py2.6.egg
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e07cc4f6d33ca8c6fca2e666b694ac1f2af7066240e16511ebe48c619996fb2a |
|
MD5 | e3114b98c6b59256429bbf790d63a673 |
|
BLAKE2b-256 | 0be1eb58e3094b31974da1bc1c32a9fdc316539125ec5db51866cf3558baf9dd |