⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

is_protected

Function is_protected 

Source
pub fn is_protected(addr: usize) -> bool
Expand description

Check whether a given address is currently protected by any hazard pointer.

Used by reclaimers before freeing memory to ensure no thread is actively referencing the object.