kernel::sync::lock

Module mutex

Source
Expand description

A kernel mutex.

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

Macros§

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

Structs§

Type Aliases§

  • A mutual exclusion primitive.