"Alexander Terekhov" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Maxim Egorushkin wrote: > [...] > > Seems like the issue is undefined behaviour when casting away volatile. > > Do I get it right? > > Yes, UB is the issue ("one of the most obvious tips of the iceberg"). > > Well, more on volatiles (low level stuff) can be found below. Uhmm, > as for "higher level safety" (and also efficiency)... you might want > to take a look at ADA's "protected types" (and the "proxy model"): > > http://groups.google.com/groups?threadm=3D7E18EB.BC80C2EB%40web.de > http://groups.google.com/groups?threadm=3D7E24FC.E1AE86B0%40web.de > (Subject: Re: POSIX Threads and Ada)
That was quite instructive. Thank you, Alexander, very much. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost