News for hackers. Stuff that matters.
Re:When you see a Heisenbug in C, change your compiler's opt... by frozenport on Saturday March 01, 2014 @08:56PM (#7327289)
>TL;DR: concurrency is unspecified in C.

Does the same argument apply to binary code ran on a preemptive operating systems? The actual execution order of your code is still unspecified, as the OS an interrupt it whenever it wants.

Re:When you see a Heisenbug in C, change your compiler's opt... by Dylan16807 on Saturday March 01, 2014 @11:06PM (#7327664)
Mostly. The OS and hardware will make certain guarantees about ordering and concurrency, and if you want more you need to specifically ask them for more. C makes almost no guarantees, but the basic concept is the same. Use the provided extensions to get safe order and concurrency.