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

try_receive_from_endpoint

Function try_receive_from_endpoint 

Source
pub fn try_receive_from_endpoint(endpoint_id: u64) -> Option<Message>
Expand description

Try to receive a message from an endpoint without blocking.

Looks up the endpoint by ID in the registry and attempts to dequeue a message from its receive queue. Returns None if the endpoint doesn’t exist or has no pending messages.