#thread #join #structured

jod-thread

std::thread which joins on drop by default

3 releases

0.1.2 Jun 9, 2020
0.1.1 Mar 28, 2020
0.1.0 Aug 21, 2019

#177 in Concurrency

Download history 21954/week @ 2024-06-15 22630/week @ 2024-06-22 22440/week @ 2024-06-29 21604/week @ 2024-07-06 21846/week @ 2024-07-13 23449/week @ 2024-07-20 25119/week @ 2024-07-27 22639/week @ 2024-08-03 22325/week @ 2024-08-10 21965/week @ 2024-08-17 21687/week @ 2024-08-24 22706/week @ 2024-08-31 24619/week @ 2024-09-07 24253/week @ 2024-09-14 24573/week @ 2024-09-21 19733/week @ 2024-09-28

97,052 downloads per month
Used in 63 crates (7 directly)

MIT/Apache

7KB
89 lines

Join On Drop thread (jod_thread) is a thin wrapper around std::thread, which makes sure that by default all threads are joined.


lib.rs:

Join On Drop thread (jod_thread) is a thin wrapper around std::thread, which makes sure that by default all threads are joined.

No runtime deps