5 Aug
2008
5 Aug
'08
8:52 a.m.
Hello, This's rather basic question, but I couldn't find any example in the docs. typedef boost::shared_lockboost::shared_mutex shared_lock; shared_mutex mutex_; /// { shared_lock lock(mutex_); // reading locked data... // here I want to midify the data, how can I upgrade the lock to be exclusive? } Thank you in advance.