I will not use `sleep` to synchronize threads in tests. I will not use `sleep` to synchronize threads in tests. I will not use `sleep` to synchronize threads in tests. I will not use `sleep` to synchronize threads in tests. I will not use `sleep` to synchronize threads in tests.
Replying to @arshia__
I know I need to be using https://doc.rust-lang.org/nightly/std/sync/struct.Barrier.html … instead, but for whatever reason the thought never occurs while I'm writing the test. Then I ask for code review and remember "oh right I should have been not shit"
3:24 PM - 10 Sep 2018
from Albuquerque, NM
0 replies
0 retweets
3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.