Optimization of conditional access to globals: thread-unsafe?

Robert Dewar dewar@adacore.com
Sat Oct 27 00:36:00 GMT 2007


David Daney wrote:

> They did use pthreads though.  Code correctness in this case does not 
> depend on the number of processor cores.

True, but in practice "real" multiprocessing shows up such bugs
more often ...
> 
> David Daney




More information about the Gcc mailing list