pub unsafe extern "C" fn object_set_peer_user_signal(
object_handle: u32,
set: u32,
) -> isizeExpand description
Set or clear Signals::USER on the paired peer.
Modeled after a level-triggered hardware interrupt: the signaler owns
the signal and controls it in both directions. set != 0 raises USER
on the peer; set == 0 lowers USER on the peer. The receiver does
not clear the signal — only the sender does.
If the signaler process terminates or is reset, the kernel automatically
lowers Signals::USER on the peer object to prevent signal leaks.
Symmetrically, if the receiver process terminates and restarts, its own
Signals::USER is preserved as long as the signaler remains alive and
has not lowered it.
§Returns
0: On success.Error::Unimplemented:object_handledoes not support peer signaling.Error::FailedPrecondition: No active peer (e.g., handler not yet wired).