
18 May
2011
18 May
'11
5:43 a.m.
Phil Bouchard wrote:
On 5/17/2011 9:11 PM, Steven Watanabe wrote:
What do you mean by merge?
So you have 2 sets that could be locked by thread 1 and 2. Now thread 1 wants to take ownership of the 2 sets so it'll need to lock mutex 1 and 2.
This is not supported directly by the underlying platforms and will require the need of synchronization between the threads which will result in a expensive operation that you could implement yourself on top of the existing API. Could you explain in which case do you need to use this merge operation? Best, Vicente -- View this message in context: http://boost.2283326.n4.nabble.com/mutex-move-merge-tp3531125p3531638.html Sent from the Boost - Dev mailing list archive at Nabble.com.