Subj : Re: 'volatile' Rules To : comp.programming.threads From : David Schwartz Date : Tue Jun 07 2005 06:20 pm "David Hopwood" wrote in message news:pOppe.234235$Cq2.166457@fe2.news.blueyonder.co.uk... > Uenal Mutlu wrote: >> Maybe someone can list when [volatile] is ever useful, if any. > Accessing memory-mapped hardware registers. Or, more generally, in any platform-specific situation where the platform's documentation specifies that volatile has some particular guaranteed semantics on that platform. DS .