Posted Aug 13, 2012 16:58 UTC (Mon) by jwakely (subscriber, #60262)
In reply to: ACCESS_ONCE() by daglwn
Parent article: ACCESS_ONCE()
> Now, gcc has for example the -pthreads switch that tells it something about what to expect so that can help.
Except that for many platforms it's equivalent to '-D_REENTRANT -lpthread' and so only affects the preprocessor and linker, which doesn't tell the compiler anything.