News for hackers. Stuff that matters.
Re:Tree-Structured Concurrency by wongarsu on Sunday July 02, 2023 @01:24PM (#36563519)
In Rust, the idiomatic solutions for data-passing would be a fifo channel (either std::sync::mpsc from the standard library or one of the popular libraries (crossbeam or flume)), and the solution for synchronization would be one-shot channels or zero-capacity channels.

Or you can just manually join the threads you started

There are no comments on this comment yet.