[cpp-threads] Re: volatile, memory models, threads
David Abrahams
dave at boost-consulting.com
Sun Feb 19 23:53:11 GMT 2006
Andrei Alexandrescu <andrei at metalanguage.com> writes:
> Hey Dave,
>
>
> Time hasn't allowed me to keep up with the process of standardizing
> threads. You may want to forward your question to
> cpp-threads at decadentplace.org.uk and/or to Hans Boehm at hans.boehm at hp.com.
Done:
> Andrei
>
> David Abrahams wrote:
>> Hi Andrei,
>> N1777 says
>> "on some multiprocessors, there might not be any applicable
>> techniques short of heavy solutions such as the insertion of
>> otherwise inaccessible locks. Thus, there may be types for
>> which the volatile qualifier either cannot be supported on a
>> particular target platform, or would entail surprising time
>> and space overhead."
>> Seems to me that adding volatile might therefore make some types
>> non-POD. What guidance did your group get from the committee on this
>> issue?
Any information will be much appreciated.
Thanks in advance,
--
Dave Abrahams
Boost Consulting
www.boost-consulting.com
More information about the cpp-threads
mailing list