struct MutexPolicy

Defined at line 267 of file ../../zircon/kernel/include/kernel/mutex.h

Lock policy for kernel mutexes

Public Methods

template <typename LockType>
void PreValidate (LockType * , State * )

No special actions are needed during pre-validation.

Defined at line 277 of file ../../zircon/kernel/include/kernel/mutex.h

template <typename LockType>
bool Acquire (LockType * lock, State * state)

Basic acquire and release operations.

Defined at line 281 of file ../../zircon/kernel/include/kernel/mutex.h

template <typename LockType>
void Release (LockType * lock, State * )

Defined at line 287 of file ../../zircon/kernel/include/kernel/mutex.h

template <typename LockType>
void AssertHeld (const LockType & lock)

Runtime lock assertions.

Defined at line 293 of file ../../zircon/kernel/include/kernel/mutex.h

Records