LWN.net Logo

ACCESS_ONCE()

ACCESS_ONCE()

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.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds