Skip to main content Skip to main content
Pigweed's logo Pigweed
code_xml
  1. Home
  2. Reference
  3. Rust
  4. pw_kernel
  5. kernel
  6. Module spinlock Copy item path

Module spinlock

Module spinlock 

Source

Re-exportsยง

use core::cell::UnsafeCell; ๐Ÿ”’
use core::ops::Deref; ๐Ÿ”’
use core::ops::DerefMut; ๐Ÿ”’
use crate::scheduler::PreemptDisableGuard; ๐Ÿ”’
use crate::Arch; ๐Ÿ”’
use crate::Kernel; ๐Ÿ”’

Structsยง

SpinLock
SpinLockGuard

Enumsยง

InterruptsOnDrop
Controls whether dropping a guard reconstructed via SpinLock::adopt_locked re-enables interrupts or keeps them disabled.

Traitsยง

BareSpinLock