Module mutex

Source
Expand description

A kernel mutex.

This module allows Rust code to use the kernel’s struct mutex.

Macros§

new_mutex
Creates a Mutex initialiser with the given name and a newly-created lock class.

Structs§

MutexBackend
A kernel struct mutex lock backend.

Type Aliases§

Mutex
A mutual exclusion primitive.
MutexGuard
A Guard acquired from locking a Mutex.