Skip to main content

recv

Function recv 

Source
fn recv(listener: i32) -> Option<SeccompNotif>
Expand description

Blocking receive; None once no process uses the filter any more.

ENOENT from RECV has two meanings: the filter has no users left, or the notification just queued was withdrawn by a signal (a SIGCHLD landing on a shell in a stat) before it was received. Only the former ends the pool, and only it raises POLLHUP on the listener, which is how the two are told apart.