Re:Why asynchronous Rust doesn't work
by richardwhiuk on Wednesday March 10, 2021 @06:41AM
(#26410228)
And that's possible, because the sleep call is a suggestion, not a guarantee. If the CPU is blocked for 2s, then the order of waking the threads is undetermined, and the race will occur.
[ Parent
| on HN ]
There are no comments on this comment yet.