Boost logo

Boost :

Subject: Re: [boost] n2427 atomic implementation?
From: Ioannis Papadopoulos (ipapadop_at_[hidden])
Date: 2008-12-05 14:18:09


vicente.botet wrote:
> Hi,
>
> Can the N2427 - C++ Atomic Types and Operations be implemented without the help of the compiler?
> Do some one have a partial implementation?
>
> Vicente
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>

Inside boost/detail/ there are implementations for atomic int counters,
with implementations for Win32, GCC and using pthread mutexes when no
platform-optimized solution exists.

AFAIK, there is no complete n2427 implementation.

The atomic_ops library is more complete but only provides a platform
independent interface for atomic operations, which is C-based. Moreover,
there is no implementation for XL C compiler on AIX.

The just::thread implementation from http://www.stdthread.co.uk/ is only
for Win32.

Is anyone else interested in implementing the proposal in n2427?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk