Re: [Boost-users] [boost] [thread] synchronized_value: value and move semantics

26 Jun
2013
26 Jun
'13
7:20 p.m.
On Wed, Jun 26, 2013 at 12:37 PM, Ben Pope
I think this should just not exist in C++11 and instead be replaced by something like monitor<T> described by Herb Sutter [1]:
I'm using several variants of Monitor in my projects. It don't work well in cases where what you really want is syncrhonization, which happen sometime when the design suggests it. In this case you need a mutex, so synchronized_value helps with that. In my opinion, If the multiple access is a bottleneck in real application, it is very easy to spot with a profiler and modify the code as you pointed. Joel Lamotte
4314
Age (days ago)
4314
Last active (days ago)
0 comments
1 participants
participants (1)
-
Klaim - Joël Lamotte