
Hi, I would like to known state of atomic (class/operations) implementation in boost. There are several threads that contains references to atomics, but I cannot find the state of this issue. May be I've overlooked something. I would like to known the following: 1) Is there defined interface for atomics? Where is it if present? 2) What is the state of this work? Currently I use my own implementation of atomic class. It has interface similar to atomic class from intel tbb (also it contains some ideas from tbb, but AFAIK ideas are not under GPL license). Now it is tested on MSVC 9.0 32-bit, and GCC 4.2.4 under Gentoo linux (both 32 and 64-bit). I can boostify and prepare it for review, if there is no such work already in progress. Best Regards, Sergei

Hi Sergei, ----- Original Message ----- From: "Sergei Politov" <spolitov@gmail.com> To: <boost@lists.boost.org> Sent: Monday, March 16, 2009 11:56 AM Subject: [boost] [thread] atomic
Hi,
I would like to known state of atomic (class/operations) implementation in boost. There are several threads that contains references to atomics, but I cannot find the state of this issue. May be I've overlooked something.
I would like to known the following: 1) Is there defined interface for atomics? Where is it if present?
There is the standard interface C++ Atomic Types and Operations http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2427.html
2) What is the state of this work?
I don't know of any portable and complete implementation. Oliver has implemented it partially in his ThreadPool library. I think Anthony has also an implementation on Interl processors.
Currently I use my own implementation of atomic class. It has interface similar to atomic class from intel tbb (also it contains some ideas from tbb, but AFAIK ideas are not under GPL license). Now it is tested on MSVC 9.0 32-bit, and GCC 4.2.4 under Gentoo linux (both 32 and 64-bit). I can boostify and prepare it for review, if there is no such work already in progress.
It will be great if you and all the interested people woked together towards a complete implementation of the standard interface. Best, Vicente

hi, I understand that atomic<T> is already a part of C++0x standard, but no implementation in boost? Regards, zhou rui -----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of vicente.botet Sent: Monday, March 16, 2009 7:39 PM To: boost@lists.boost.org Subject: Re: [boost] [thread] atomic Hi Sergei, ----- Original Message ----- From: "Sergei Politov" <spolitov@gmail.com> To: <boost@lists.boost.org> Sent: Monday, March 16, 2009 11:56 AM Subject: [boost] [thread] atomic
Hi,
I would like to known state of atomic (class/operations) implementation in boost. There are several threads that contains references to atomics, but I cannot find the state of this issue. May be I've overlooked something.
I would like to known the following: 1) Is there defined interface for atomics? Where is it if present?
There is the standard interface C++ Atomic Types and Operations http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2427.html
2) What is the state of this work?
I don't know of any portable and complete implementation. Oliver has implemented it partially in his ThreadPool library. I think Anthony has also an implementation on Interl processors.
Currently I use my own implementation of atomic class. It has interface similar to atomic class from intel tbb (also it contains some ideas from tbb, but AFAIK ideas are not under GPL license). Now it is tested on MSVC 9.0 32-bit, and GCC 4.2.4 under Gentoo linux (both 32 and 64-bit). I can boostify and prepare it for review, if there is no such work already in progress.
It will be great if you and all the interested people woked together towards a complete implementation of the standard interface. Best, Vicente _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

On Mon, Mar 16, 2009 at 7:38 AM, vicente.botet <vicente.botet@wanadoo.fr> wrote:
Hi Sergei, ----- Original Message ----- From: "Sergei Politov" <spolitov@gmail.com> To: <boost@lists.boost.org> Sent: Monday, March 16, 2009 11:56 AM Subject: [boost] [thread] atomic
Hi,
I would like to known state of atomic (class/operations) implementation in boost. There are several threads that contains references to atomics, but I cannot find the state of this issue. May be I've overlooked something.
I would like to known the following: 1) Is there defined interface for atomics? Where is it if present?
There is the standard interface C++ Atomic Types and Operations http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2427.html
The best reference is really the working paper, because changes have been made since the proposal. The best bet is to go to http://www.open-std.org/jtc1/sc22/wg21/ and click on "Current C++ Standard Working Paper" in the "Other information" section. --Beman
participants (4)
-
Beman Dawes
-
jon_zhou@agilent.com
-
Sergei Politov
-
vicente.botet