Reply To: threads Win32 <-> Linux

Home Forums C Programming threads Win32 <-> Linux Reply To: threads Win32 <-> Linux

#3387

Ok, I found the problem/solution but I’m not satisfied: All works fine when the optimizations in gcc are turned off.
Each optimization (O, O1, O2, O3, Os) will cause an endless loop.

Here an example:

0 Shares
Share
+1
Tweet
Share
Stumble