7 releases

0.2.1 Sep 26, 2022
0.2.0 Nov 12, 2019
0.1.4 Jun 22, 2019
0.1.3 May 7, 2019
0.1.1 Apr 9, 2019

#11 in #threads

Download history 83/week @ 2023-01-20 21/week @ 2023-01-27 74/week @ 2023-02-03 44/week @ 2023-02-10 60/week @ 2023-02-17 16/week @ 2023-02-24 20/week @ 2023-03-03 3/week @ 2023-03-10 12/week @ 2023-03-17 19/week @ 2023-03-24 12/week @ 2023-03-31 15/week @ 2023-04-07 18/week @ 2023-04-14 8/week @ 2023-04-21 22/week @ 2023-04-28 26/week @ 2023-05-05

74 downloads per month
Used in 4 crates

MIT license

47KB
889 lines

Threads for Humans (DEPRECATED)

NOTE: this library is now deprecated and won't be updated much (not like it was until now ...).

A rust library built on top of std::thread to provide additional features and tools to make development easier and to support operators.

Threads are a complex beast. Rust does a great job at providing an efficient, cross-platform, support for essential operations. But larger and more complex projects need a bit more.

The humthreads library provides the following additional features:

  • Signal threads they should shutdown.
  • Join threads with timeouts instead of blocking forever if a thread is not done.
  • Introspection API to aid debugging and monitoring multi-threaded processes.

Code of Conduct

Our aim is to build a thriving, healthy and diverse community.
To help us get there we decided to adopt the Contributor Covenant Code of Conduct for all our projects.

Any issue should be reported to stefano-pogliani by emailing conduct@replicante.io.
Unfortunately, as the community lucks members, we are unable to provide a second contact to report incidents to.
We would still encourage people to report issues, even anonymously.

Dependencies

~0.8–1.4MB
~33K SLoC