Struct nb_executor::Events
source · [−]pub struct Events<S> { /* private fields */ }
Expand description
Shared event mask.
The event mask is an atomic bitmask shared between the executor and the event sources. The type
parameter S
is an EventMask
.
Events or signals?
They are the same. The name “event” refers to their presence in the shared event mask, while the name “signal” refers to poll-local signal masks. Events become signals when they are handled or waited for.