This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how to cast away 'volatile'?


Ian Lance Taylor writes:
 > 
 > All objects shared between threads need to protected by a mutex, or by
 > some other type of memory barrier.

It's an interesting contention -- that in GNU/Linux userspace there
are essentially no legitimate uses for volatile.  Hmmmm...

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]