|
YACLib
C++ library for concurrent tasks execution
|
#include <guard.hpp>
Public Types | |
| using | MutexType = M |
Additional Inherited Members | |
Public Member Functions inherited from yaclib::detail::Guard< M, false > | |
| Guard () noexcept=default | |
| Guard (Guard &&other) noexcept | |
| Guard (M &m, std::defer_lock_t) noexcept | |
| Guard (M &m, std::try_to_lock_t) noexcept | |
| Guard (M &m, std::adopt_lock_t) noexcept | |
| ~Guard () noexcept | |
| Guard & | operator= (Guard &&other) noexcept |
| auto | Lock () noexcept |
| bool | TryLock () noexcept |
| auto | Unlock () noexcept |
| auto | UnlockOn (IExecutor &e) noexcept |
| void | UnlockHere () noexcept |
| void | Swap (Guard &other) noexcept |
| M * | Release () noexcept |
| M * | Mutex () const noexcept |
| bool | OwnsLock () const noexcept |
| operator bool () const noexcept | |
Protected Member Functions inherited from yaclib::detail::GuardState | |
| GuardState () noexcept=default | |
| GuardState (void *ptr, bool owns) noexcept | |
| GuardState (GuardState &&other) noexcept | |
| GuardState & | operator= (GuardState &&other) noexcept |
| void | Swap (GuardState &other) noexcept |
| void * | Ptr () const |
| bool | Owns () const noexcept |
| void * | LockState () noexcept |
| void * | UnlockState () noexcept |
| void * | ReleaseState () noexcept |
Protected Attributes inherited from yaclib::detail::GuardState | |
| std::uintptr_t | _state = 0 |