3 ms·
Yeah, I’ve published the same (I called it a CountdownEvent) for rust and use it a lot: https://docs.rs/rsevents-extra/latest/rsevents_extra/struct.CountdownEve
by ComputerGuru 4y ago
Yeah, I’ve published the same (I called it a CountdownEvent) for rust and use it a lot: https://docs.rs/rsevents-extra/latest/rsevents_extra/struct.CountdownEvent.html https://docs.rs/rsevents-extra/latest/rsevents_extra/struct....
Blocks until n threads or n tasks have completed. Latter is useful in a threadpool context.