top | up | prev | next

OwnerGuard Class

Definition at line 26 of Mutex.hpp

Constructors

OwnerGuard(Mutex& mtx_, MutexOwner& owner_)

Member Variables

Mutex& mtx
MutexOwner& owner

Constructor Details

OwnerGuard Constructor

soulng::util::OwnerGuard::OwnerGuard(Mutex & mtx_, MutexOwner & owner_)

Definition at line 24 of Mutex.cpp :
24 : mtx(mtx_)owner(owner_)
25 {
26     owner.Push(mtx.Id());
27 }


Declaration at line 29 of Mutex.hpp


top | up | prev | next