#process #thread #shared-thread

shared_thread

similar to shared_child, but for threads instead of processes

1 unstable release

new 0.1.0 May 2, 2025

#7 in #processes

MIT license

21KB
212 lines

This crate provides SharedThread, a wrapper around std::thread::JoinHandle that lets multiple threads wait on a shared thread and read its output.

For example code, see the SharedThread example.


shared_thread.rs Actions Status crates.io docs.rs

This crate provides SharedThread, a wrapper around std::thread::JoinHandle that lets multiple threads wait on a shared thread and read its output.

No runtime deps