template <size_t, typename, typename>
class GuardMultiple
Defined at line 19 of file ../../zircon/system/ulib/lockdep/include/lockdep/guard_multiple.h
Guards simultaneous acquisitions of multiple locks of the same type.
Public Members
static LockFlags kLockFlags
Public Methods
void GuardMultiple<Size, LockType, Option> (GuardMultiple<Size, LockType, Option> && )
Defined at line 28 of file ../../zircon/system/ulib/lockdep/include/lockdep/guard_multiple.h
GuardMultiple<Size, LockType, Option> & operator= (GuardMultiple<Size, LockType, Option> && )
Defined at line 29 of file ../../zircon/system/ulib/lockdep/include/lockdep/guard_multiple.h
void GuardMultiple<Size, LockType, Option> (const GuardMultiple<Size, LockType, Option> & )
Defined at line 31 of file ../../zircon/system/ulib/lockdep/include/lockdep/guard_multiple.h
GuardMultiple<Size, LockType, Option> & operator= (const GuardMultiple<Size, LockType, Option> & )
Defined at line 32 of file ../../zircon/system/ulib/lockdep/include/lockdep/guard_multiple.h
template <typename Class, size_t Index, LockFlags Flags, template <typename, typename, size_t, LockFlags> class... Locks>
void GuardMultiple<Size, LockType, Option> (Locks<Class, LockType, Index, Flags> *... locks)
Locks the given set of locks, each belonging to the same lock class,
automatically ordering the arguments by address to preserve the
intra-class ordering invariant.
Defined at line 39 of file ../../zircon/system/ulib/lockdep/include/lockdep/guard_multiple.h
void ~GuardMultiple<Size, LockType, Option> ()
Defined at line 42 of file ../../zircon/system/ulib/lockdep/include/lockdep/guard_multiple.h
void Release ()
Releases all of the locks guarded by this instance.
Defined at line 48 of file ../../zircon/system/ulib/lockdep/include/lockdep/guard_multiple.h
bool operator bool ()
Returns true if all of the guards are holding acquired locks. In general
all of the guards should be in the same state.
Defined at line 55 of file ../../zircon/system/ulib/lockdep/include/lockdep/guard_multiple.h