#[repr(u32)]pub enum ucp_wakeup_event_types {
UCP_WAKEUP_RMA = 1,
UCP_WAKEUP_AMO = 2,
UCP_WAKEUP_TAG_SEND = 4,
UCP_WAKEUP_TAG_RECV = 8,
UCP_WAKEUP_TX = 1_024,
UCP_WAKEUP_RX = 2_048,
UCP_WAKEUP_EDGE = 65_536,
}Expand description
@ingroup UCP_WORKER @brief UCP worker wakeup events mask.
The enumeration allows specifying which events are expected on wakeup. Empty events are possible for any type of event except for @ref UCP_WAKEUP_TX and @ref UCP_WAKEUP_RX.
@note Send completions are reported by POLLIN-like events (see poll man page). Since outgoing operations can be initiated at any time, UCP does not generate POLLOUT-like events, although it must be noted that outgoing operations may be queued depending upon resource availability.
Variants§
UCP_WAKEUP_RMA = 1
< Remote memory access send completion
UCP_WAKEUP_AMO = 2
< Atomic operation send completion
UCP_WAKEUP_TAG_SEND = 4
< Tag send completion
UCP_WAKEUP_TAG_RECV = 8
< Tag receive completion
UCP_WAKEUP_TX = 1_024
< This event type will generate an event on completion of any outgoing operation (complete or partial, according to the underlying protocol) for any type of transfer (send, atomic, or RMA).
UCP_WAKEUP_RX = 2_048
< This event type will generate an event on completion of any receive operation (complete or partial, according to the underlying protocol).
UCP_WAKEUP_EDGE = 65_536
< Use edge-triggered wakeup. The event file descriptor will be signaled only for new events, rather than existing ones.
Trait Implementations§
Source§impl Clone for ucp_wakeup_event_types
impl Clone for ucp_wakeup_event_types
Source§fn clone(&self) -> ucp_wakeup_event_types
fn clone(&self) -> ucp_wakeup_event_types
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more