Skip to main content

Crate ksync

Crate ksync 

Source

Re-exports§

pub use pin_init;

Macros§

declare_interned_string
Statically declares a new InternedString and allocates it inside the special __fxt_interned_string_table linker section.
lock
Locks a mutex.

Structs§

KCell
A container cell that safe-guards data of type T using type-level lock class tracking.
KCellInit
Initializer for KCell.
KMutex
A safe, Zircon-compatible mutual exclusion lock supporting compile-time order validation.
KMutexGuard
A validation guard representing exclusive lock ownership and active list participation.
LockClassRegistration
A registration entry for a Rust lock class (stub for disabled lockdep).
LockToken
A token proving that a lock of lock class Class is currently held by the current thread.

Traits§

LockClass
Trait implemented by lock class types to expose their dynamic LockClassId pointer.
RawLock
Trait defining a raw, un-instrumented synchronization lock abstraction.

Functions§

kcell_init
Creates a PinInit wrapper for initializing a KCell with an inner initializer.

Type Aliases§

RawMutex

Attribute Macros§

guarded