template <typename LockType, LockType& Reference>
class Lock
Defined at line 254 of file ../../zircon/system/ulib/lockdep/include/lockdep/lock_class.h
Specialization of Lock
<LockType
> that wraps a static/global raw lock. This
type permits creating a tracked alias of a raw lock of type LockType that
has static storage duration, with either external or internal linkage.
This type supports transitioning from C-compatible APIs to full C++.
Public Methods
void Lock<GlobalReference<LockType, Reference> > (Lock<GlobalReference<LockType, Reference>> && )
Defined at line 257 of file ../../zircon/system/ulib/lockdep/include/lockdep/lock_class.h
void Lock<GlobalReference<LockType, Reference> > (const Lock<GlobalReference<LockType, Reference>> & )
Defined at line 258 of file ../../zircon/system/ulib/lockdep/include/lockdep/lock_class.h
Lock<GlobalReference<LockType, Reference>> & operator= (Lock<GlobalReference<LockType, Reference>> && )
Defined at line 259 of file ../../zircon/system/ulib/lockdep/include/lockdep/lock_class.h
Lock<GlobalReference<LockType, Reference>> & operator= (const Lock<GlobalReference<LockType, Reference>> & )
Defined at line 260 of file ../../zircon/system/ulib/lockdep/include/lockdep/lock_class.h
void ~Lock<GlobalReference<LockType, Reference> > ()
Defined at line 262 of file ../../zircon/system/ulib/lockdep/include/lockdep/lock_class.h
LockType & lock ()
Provides direct access to the underlying lock. Care should be taken when
manipulating the underlying lock. Incorrect manipulation could confuse
the validator, trigger lock assertions, and/or deadlock.
Defined at line 267 of file ../../zircon/system/ulib/lockdep/include/lockdep/lock_class.h
const LockType & lock ()
Defined at line 268 of file ../../zircon/system/ulib/lockdep/include/lockdep/lock_class.h
LockClassId id ()
Returns the LockClassId of the lock class this lock belongs to.
Defined at line 271 of file ../../zircon/system/ulib/lockdep/include/lockdep/lock_class.h
Protected Methods
void Lock<GlobalReference<LockType, Reference> > (LockClassId id)
Defined at line 274 of file ../../zircon/system/ulib/lockdep/include/lockdep/lock_class.h
Friends
template <size_t, typename, typename>
class GuardMultiple
template <typenametypenametypename>
class Guard