
19 Feb
2013
19 Feb
'13
6:20 p.m.
On 2013-02-19 17:58, Gabriel Bizzotto wrote:
I find the scheme general purpose enough to fit the Atomic lib, or perhaps Thread.
I agree that this is a good and general-purpose construct. In fact, a prototype is already under development in Boost.Thread: http://svn.boost.org/svn/boost/trunk/boost/thread/synchronized_value.hpp See also: http://www.drdobbs.com/cpp/enforcing-correct-mutex-usage-with-synch/22520026... http://accu.org/var/uploads/journals/overload104.pdf