9 releases

0.2.7 Mar 7, 2023
0.2.6 May 27, 2022
0.2.5 Jun 30, 2020
0.2.4 Mar 21, 2020
0.1.0 Apr 19, 2017

#39 in Concurrency

Download history 141023/week @ 2024-01-08 148305/week @ 2024-01-15 150646/week @ 2024-01-22 150512/week @ 2024-01-29 139288/week @ 2024-02-05 145572/week @ 2024-02-12 141850/week @ 2024-02-19 148818/week @ 2024-02-26 155663/week @ 2024-03-04 145324/week @ 2024-03-11 144742/week @ 2024-03-18 151883/week @ 2024-03-25 158598/week @ 2024-04-01 160227/week @ 2024-04-08 171062/week @ 2024-04-15 167218/week @ 2024-04-22

662,471 downloads per month
Used in 513 crates (5 directly)

MIT/Apache

26KB
578 lines

scheduled-thread-pool

Documentation

A thread pool which can schedule execution at a specific delay and repeat it periodically.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

A thread pool to execute scheduled actions in parallel.

While a normal thread pool is only able to execute actions as soon as possible, a scheduled thread pool can execute actions after a specific delay, or execute actions periodically.

Dependencies

~0.4–6MB
~11K SLoC