Closed
Description
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.
Metadata
Metadata
Assignees
Labels
No labels