Crates.io | burst-pool |
lib.rs | burst-pool |
version | 0.5.1 |
source | src |
created_at | 2017-05-04 13:56:06.763774 |
updated_at | 2017-11-20 01:12:15.368359 |
description | A SPMC channel optimised for bursts of activity |
homepage | |
repository | https://github.com/asayers/burst-pool |
max_upload_size | |
id | 13084 |
size | 35,458 |
A thread pool optimised for bursts of activity.
Designed for the following use-case: A single thread produces work which must then be performed by a pool of worker threads. The work is produced infrequently, but in bursts. Under normal operation, therefore, the threads in the pool sleep until some event requires many of them to be suddenly be woken at once. Those threads perform some work before going back to sleep again.
See the documentation for details.