Module kernel::sync

source ·
Expand description

Synchronisation primitives.

This module contains the kernel APIs related to synchronisation that have been ported or wrapped for usage by Rust code in the kernel.

Re-exports

Modules

  • Generic kernel lock and guard.

Structs

  • A reference-counted pointer to an instance of T.
  • A borrowed reference to an Arc instance.
  • A conditional variable.
  • Represents a lockdep class. It’s a wrapper around C’s lock_class_key.
  • Allows access to some data to be serialised by a lock that does not wrap it.
  • A refcounted object that is known to have a refcount of 1.
This documentation is an old archive. Please see https://rust.docs.kernel.org instead.