|
EM-ODP
3.7.0
Event Machine on ODP
|
Go to the documentation of this file.
36 #ifndef EM_EVENT_CHECKS_H_
37 #define EM_EVENT_CHECKS_H_
55 EVSTATE__EVENT_VECTOR_FREE,
59 EVSTATE__INIT_EXTEV_MULTI,
60 EVSTATE__UPDATE_EXTEV,
64 EVSTATE__SEND_EGRP__FAIL,
66 EVSTATE__SEND_MULTI__FAIL,
67 EVSTATE__SEND_EGRP_MULTI,
68 EVSTATE__SEND_EGRP_MULTI__FAIL,
69 EVSTATE__EO_START_SEND_BUFFERED,
74 EVSTATE__MARK_FREE_MULTI,
75 EVSTATE__UNMARK_FREE_MULTI,
77 EVSTATE__DISPATCH_MULTI,
78 EVSTATE__DISPATCH_SCHED__FAIL,
79 EVSTATE__DISPATCH_LOCAL__FAIL,
81 EVSTATE__DEQUEUE_MULTI,
83 EVSTATE__TMO_SET_ABS__FAIL,
85 EVSTATE__TMO_SET_REL__FAIL,
86 EVSTATE__TMO_SET_PERIODIC,
87 EVSTATE__TMO_SET_PERIODIC__FAIL,
90 EVSTATE__TMO_ACK__NOSKIP,
91 EVSTATE__TMO_ACK__FAIL,
95 EVSTATE__TERM_CORE__QUEUE_LOCAL,
101 COMPILE_TIME_ASSERT(EVSTATE__LAST <= UINT8_MAX, EVSTATE__LAST__TOO_BIG);
111 #define EVGEN_INIT ((uint16_t)0x1000)
113 #define EVGEN_MAX ((uint16_t)UINT16_MAX - 0x1000)
115 #define SEND_CNT_INIT ((uint16_t)0x8000)
117 #define REF_CNT_INIT ((uint16_t)0x8000)
119 #define REF_CNT_MAX ((uint16_t)UINT16_MAX - 0x1000)
127 static inline bool esv_enabled(
void)
157 const uint16_t api_op);
194 const uint16_t api_op);
199 const uint16_t api_op);
207 const uint16_t api_op);
213 const uint16_t api_op);
220 const uint16_t api_op);
225 const uint16_t api_op);
233 const uint16_t api_op);
239 const uint16_t api_op);
246 const uint16_t api_op);
251 const uint16_t api_op);
259 const uint16_t api_op);
265 const uint16_t api_op);
281 const uint16_t api_op);
293 const uint16_t api_op);
void evstate_unmark_free(const em_event_t event, event_hdr_t *const ev_hdr, const uint16_t api_op)
void evstate_em2usr_revert_multi(em_event_t ev_tbl[], event_hdr_t *const ev_hdr_tbl[], const int num, const uint16_t api_op)
void evstate_free_multi(const em_event_t ev_tbl[], event_hdr_t *const ev_hdr_tbl[], const int num, const uint16_t api_op)
void evstate_usr2em_revert_multi(const em_event_t ev_tbl[], event_hdr_t *const ev_hdr_tbl[], const int num, const uint16_t api_op)
void esv_disabled_warn_config(void)
void evstate_usr2em_revert(em_event_t event, event_hdr_t *const ev_hdr, const uint16_t api_op)
void evstate_init_multi(em_event_t ev_tbl[], event_hdr_t *const ev_hdr_tbl[], const int num, bool is_extev)
void evstate_free(em_event_t event, event_hdr_t *const ev_hdr, const uint16_t api_op)
em_event_t evstate_init(const em_event_t event, event_hdr_t *const ev_hdr, bool is_extev)
void evstate_free_revert(em_event_t event, event_hdr_t *const ev_hdr, const uint16_t api_op)
em_event_t evstate_update(const em_event_t event, event_hdr_t *const ev_hdr, bool is_extev)
em_event_t evstate_em2usr_revert(em_event_t event, event_hdr_t *const ev_hdr, const uint16_t api_op)
em_event_t evstate_alloc(const em_event_t event, event_hdr_t *const ev_hdr, const uint16_t api_op)
em_event_t evstate_alloc_tmo(const em_event_t event, event_hdr_t *const ev_hdr)
void evstate_free_revert_multi(const em_event_t ev_tbl[], event_hdr_t *const ev_hdr_tbl[], const int num, const uint16_t api_op)
em_event_t evstate_em2usr(em_event_t event, event_hdr_t *const ev_hdr, const uint16_t api_op)
em_event_t evstate_prealloc(const em_event_t event, event_hdr_t *const ev_hdr)
void evstate_usr2em_multi(const em_event_t ev_tbl[], event_hdr_t *const ev_hdr_tbl[], const int num, const uint16_t api_op)
void evstate_alloc_multi(em_event_t ev_tbl[], event_hdr_t *const ev_hdr_tbl[], const int num)
void evstate_unmark_free_multi(const em_event_t ev_tbl[], event_hdr_t *const ev_hdr_tbl[], const int num, const uint16_t api_op)
void evstate_em2usr_multi(em_event_t ev_tbl[], event_hdr_t *const ev_hdr_tbl[], const int num, const uint16_t api_op)
em_event_t evstate_ref(const em_event_t event, event_hdr_t *const ev_hdr)
em_status_t esv_init(void)
esv_apiop_t
ESV API operation IDs.
void evstate_usr2em(em_event_t event, event_hdr_t *const ev_hdr, const uint16_t api_op)
void evstate_unmark_send(const em_event_t event, event_hdr_t *const ev_hdr)