32 #define OS_EVENT_TAG 0x65566E54u
53 CHECK_OFFSET(
OSEvent, 0x0, tag);
54 CHECK_OFFSET(
OSEvent, 0x4, name);
55 CHECK_OFFSET(
OSEvent, 0xc, value);
56 CHECK_OFFSET(
OSEvent, 0x10, queue);
57 CHECK_OFFSET(
OSEvent, 0x20, mode);
void OSResetEvent(OSEvent *event)
A manual event will only reset when OSResetEvent is called.
void OSSignalEvent(OSEvent *event)
void OSInitEvent(OSEvent *event, BOOL value, OSEventMode mode)
const char * name
Name set by OSInitEventEx.
void OSSignalEventAll(OSEvent *event)
BOOL value
The current value of the event object.
void OSWaitEvent(OSEvent *event)
BOOL OSWaitEventWithTimeout(OSEvent *event, OSTime timeout)
uint32_t tag
Should always be set to the value OS_EVENT_TAG.
void OSInitEventEx(OSEvent *event, BOOL value, OSEventMode mode, char *name)
An auto event will reset everytime a thread is woken.
OSEventMode mode
The mode of the event object, set by OSInitEvent.
OSThreadQueue queue
The threads currently waiting on this event object with OSWaitEvent.