You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's currently no way of locking on two or more sync::mutex::Mutex at once.
C++11 provides a std::lock vs std::mutex::lock, where the first is a variadic template that can lock multiple mutexes, and the second is a member method to lock a single mutex.
Maybe a sync::mutex::lock would work?
This might apply to the std wrapper Mutex types too.