ark::core::ScopedUnlock

Defined in header “ark/core/scoped_unlock.hh”.


Takes in a unique lock, unlocks it, and ensures it is is locked again when this object falls out of scope.

Methods

  • ScopedUnlock(std::unique_lock< MutexType > & lock)
    Constructor. Unlocks the mutex.

  • ~ScopedUnlock()
    Destructor. Relocks the mutex.

  • ScopedUnlock()

  • ScopedUnlock & operator=()