top | item 46155088

(no title)

throwawaymaths | 2 months ago

and you can have good races too (where the order doesnt matter)

discuss

order

oconnor663|2 months ago

Yeah it's worth emphasizing, if I spawn two threads, and both of them print a message when they finish (and don't interact with each other in any other way), that's technically a race condition. The output of my program depends on the order on which these threads complete. The question is whether it's a race that I care about.