struct MutexPolicy

Defined at line 268 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 278 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 282 of file ../../zircon/kernel/include/kernel/mutex.h

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

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

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

Runtime lock assertions.

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

Records