|
Boost Users : |
Subject: Re: [Boost-users] intrusive_ptr and multi-threading
From: Peter Dimov (pdimov_at_[hidden])
Date: 2011-06-13 10:03:24
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 :-)
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net