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

cleanup_process_locks

Function cleanup_process_locks 

Source
pub fn cleanup_process_locks(pid: u64)
Expand description

Remove all locks (flock and range) held by the specified PID.

Called during process exit to prevent leaked locks.