chsvlib
chsv helper source code

◆ shared_lock() [2/5]

shared_lock ( mutex_type m)
explicit

A constructor associating the specified shared_mutex with the shared_lock object. The utex is locked by the constructor for shared ownership.

Parameters
mThe shared_mutex object to use for a call to its shared_mutex::lock_shared.