Struct kernel::task::pid::PID_ALLOCATOR
source · struct PID_ALLOCATOR {
__private_field: (),
}
Fields§
§__private_field: ()
Methods from Deref<Target = Mutex<PidAllocator>>§
sourcepub fn lock(&self) -> MutexGuard<'_, T>
pub fn lock(&self) -> MutexGuard<'_, T>
Acquires a lock on the Mutex
and returns a MutexGuard that provides exclusive access to
the shared resource.
Trait Implementations§
source§impl Deref for PID_ALLOCATOR
impl Deref for PID_ALLOCATOR
§type Target = Mutex<PidAllocator>
type Target = Mutex<PidAllocator>
The resulting type after dereferencing.
source§fn deref(&self) -> &Mutex<PidAllocator>
fn deref(&self) -> &Mutex<PidAllocator>
Dereferences the value.