pub fn processes_using_through(
proc_root: &Path,
target: &UseTarget<'_>,
self_pid: u32,
) -> UseScanExpand description
What:
Every process other than self_pid that uses the target, through a proc root.
Why:
Recovery runs this only after a record is missing or a lock is unproven,
so the scan costs nothing on a commit that finds its state whole.
In TS you’d write (pseudocode):
async function processesUsing({ procRoot, target, selfPid }): Promise<UseScan>;