chsvlib
chsv helper source code

◆ shared_lock() [5/5]

shared_lock ( mutex_type m,
std::adopt_lock_t  t 
)

A constructor associating the specified shared_mutex with the shared_lock object. The constructor assumes that the mutex is already locked by the calling thread.

Parameters
mThe shared_mutex object to use.
tA tag to specify the behaviour of the constructor.