Skip to main content

destroy_port

Function destroy_port 

Source
pub fn destroy_port(id: PortId, caller: TaskId) -> Result<(), IpcError>
Expand description

Destroy a port, removing it from the registry and waking all waiters.

Returns Ok(()) if destroyed, Err if not found or not owned by caller.