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 |
#34 in Concurrency
480,231 downloads per month
Used in 552 crates
(6 directly)
26KB
578 lines
scheduled-thread-pool
A thread pool which can schedule execution at a specific delay and repeat it periodically.
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
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