Submitted By: admin on March 15, 2018
1
3426
Source: www.reddit.com
What if flushing takes longer than 700ms? Properly synchronise your threads, folks!
while (urinal.smellsLikeDeath()) {
Flusher flusher = new Flusher();
flusher.start();
try {
flusher.join();
} catch (InterruptedException e) {
callMario();
}
}
- flyx86