MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / is_managed

Function is_managed

crates/openshell-supervisor-process/src/managed_children.rs:49–53  ·  view source on GitHub ↗
(pid: i32)

Source from the content-addressed store, hash-verified

47/// Return `true` if `pid` is currently in the supervised-child set.
48#[must_use]
49pub fn is_managed(pid: i32) -> bool {
50 MANAGED_CHILDREN
51 .lock()
52 .is_ok_and(|children| children.contains(&pid))
53}

Callers 1

run_processFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected