[cpp-threads] atomic operations package
Alexander Terekhov
alexander.terekhov at gmail.com
Wed Aug 24 13:25:06 BST 2005
On 8/23/05, Peter Dimov <pdimov at mmltd.net> wrote:
[...]
> The C people would never accept the <> syntax. They hate templates with a
> passion. :-)
Why not simply give a bunch of macros to templates haters?
__STDC_ATOMIC_SCALAR(int, v);
>
> atomic_load( &v, msync_acq )
__STDC_ATOMIC_LOAD(v, __STDC_MSYNC_ACQ);
or something like that. Templates haters deserve the pain. ;-)
regards,
alexander.
More information about the cpp-threads
mailing list