Subj : Re: double-checked locking in C To : comp.programming.threads From : David Schwartz Date : Sat Jul 09 2005 05:41 pm "David Hopwood" wrote in message news:swYze.139672$Vj3.133001@fe2.news.blueyonder.co.uk... > "Implementation-defined", in the context of C, implies "must be > documented". > Have you ever seen adequate documentation of precisely what volatile means > for a specific platform? I haven't; basically you just have to guess and > hope that the implementation doesn't do optimizations that break your > code. Or, better yet, just don't use 'volatile'. DS .