During language practice I encounter some strange behaviour.
I’ve got simple practice code that creates multiple delayed futures, and then wait for completion.
If I use
future::join_all everything works fine,but if I try to use mutex and condvar, some futures just didnt processed.
This behaviour only appear on multicore system (> 2 cores), so rust playground may not reproduce it.