Module for distributing jobs to a pool of worker threads.
Project description
Performing tasks in many threads made fun!
This module facilitates distributing simple operations into jobs that are sent to worker threads, maintained by a pool object.
It consists of these components:
Jobs, which are single units of work that need to be performed.
Workers, who grab jobs from a queue and perform them.
Worker pool, which keeps track of workers and the job queue.
Have a look at the mass downloader example on github to get started.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
workerpool-0.9.2.tar.gz
(7.7 kB
view details)
File details
Details for the file workerpool-0.9.2.tar.gz
.
File metadata
- Download URL: workerpool-0.9.2.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab2eaf05e236140c62c7411d13ecc4ddedc365966282719a35afc53043c00f82 |
|
MD5 | 42904070f1a58f2a7b7276b22134375b |
|
BLAKE2b-256 | edf99738d99c9cf712bd3ac01f0ebf26538beaf8d048bc9f455e4e2ded57ab8f |