EM-ODP  3.7.0
Event Machine on ODP
evhdl_t Union Reference

#include <em_event_types.h>

Data Fields

em_event_t event
 
struct {
   uint64_t   evptr: 48
 
   uint64_t   evgen: 16
 
}; 
 

Detailed Description

Internal representation of the event handle (em_event_t) when using Event State Verification (ESV)

An event-generation-count is encoded into the high bits of the event handle to catch illegal usage after the event ownership has been transferred. Each user-to-EM event state transition increments the .evgen and thus obsoletes any further use of the handle by that user.

Definition at line 67 of file em_event_types.h.


The documentation for this union was generated from the following file: