ThreadPool¶Object for managing a collection of threads and dispatching jobs to them.
Methods Summary¶| __init__ | Create the ThreadPool |
| QueueJob | Add a job to be processed |
| Shutdown | Shutdown the ThreadPool |
Class API¶Object for managing a collection of threads and dispatching jobs to them.
Create the ThreadPool
| Parameters: |
|
|---|
Add a job to be processed
| Parameters: |
|
|---|
Shutdown the ThreadPool
Note
Blocking call until all threads have exited