|
libpsynth 0.2.1
|
try_lock_guard, lock_guard and no_lock_guard provide a way to design policies that are not bases just on object or class locking, but fine-grainedly control wether some internal construct should have exclusion, probabilistic exclusion or no exclusion at all. More...
#include <threads.hpp>

Public Types | |
| typedef std::unique_lock< Mutex > | guard_type |
Public Member Functions | |
| guard_type | default_guard () |
| template<typename... Args> | |
| guard_type | guard (Args...args) |
| void | lock () |
| bool | try_lock () |
| void | unlock () |
try_lock_guard, lock_guard and no_lock_guard provide a way to design policies that are not bases just on object or class locking, but fine-grainedly control wether some internal construct should have exclusion, probabilistic exclusion or no exclusion at all.
| typedef std::unique_lock<Mutex> psynth::base::try_lock_guard< Mutex >::guard_type |
Reimplemented in psynth::base::lock_guard< Mutex >, and psynth::base::lock_guard<>.
| guard_type psynth::base::try_lock_guard< Mutex >::default_guard | ( | ) | [inline] |
Reimplemented in psynth::base::lock_guard< Mutex >, and psynth::base::lock_guard<>.
| guard_type psynth::base::try_lock_guard< Mutex >::guard | ( | Args... | args | ) | [inline] |
| void psynth::base::try_lock_guard< Mutex >::lock | ( | ) | [inline] |
| bool psynth::base::try_lock_guard< Mutex >::try_lock | ( | ) | [inline] |
| void psynth::base::try_lock_guard< Mutex >::unlock | ( | ) | [inline] |
1.7.4