CsLibGuarded
1.4.2
|
#include <CsLibGuarded/cs_deferred_guarded.h>
This templated class wraps an object and allows only one thread at a time to modify the protected object.
This class will use std::shared_timed_mutex for the internal locking mechanism by default. In C++17, the class std::shared_mutex is available as well.
The shared_handle returned by the various lock methods is moveable but not copyable.
Definition at line 49 of file cs_deferred_guarded.h.