
13 Jun
2011
13 Jun
'11
2:03 p.m.
Andrej van der Zee wrote:
I am using boost::detail::atomic_count now. I saw it is implemented using a scoped_lock for pthreads.
This depends on your gcc version (if you're using gcc) and your target platform.
Is there any advantage of using C++0x in terms of performance on Linux?
There should be as std::atomic should use atomic operations, but again, it depends on the gcc version and the target platform :-)