![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <threads.h>
Data Fields | |
| uint32_t | signature |
| Signature for entry validation. | |
| uint32_t | state |
| State of the event (Signaled/Unsignaled). | |
| uint32_t | flags |
| Event Flags (eg EVENT_FLAG_MANUAL). | |
| SPIN_HANDLE | lock |
| Event Lock. | |
| LIST_HANDLE | list |
| List of threads waiting on this Event (or INVALID_HANDLE_VALUE if never used). | |
| thread_wait_proc | wait |
| Wait function to call to wait on the Event if it is not Signaled. | |
| thread_wait_ex_proc | waitex |
| Wait function to call to wait with timeout on the Event if it is not Signaled. | |
| thread_release_proc | release |
| Release function to call if any threads are waiting when Event is Signaled. | |
| thread_abandon_proc | abandon |
| Abandon function to call if any threads are waiting when Event is destroyed. | |
| EVENT_ENTRY * | prev |
| Previous entry in Event table. | |
| EVENT_ENTRY * | next |
| Next entry in Event table. | |
| uint32_t signature |
Signature for entry validation.
| uint32_t state |
State of the event (Signaled/Unsignaled).
| uint32_t flags |
Event Flags (eg EVENT_FLAG_MANUAL).
| SPIN_HANDLE lock |
Event Lock.
| LIST_HANDLE list |
List of threads waiting on this Event (or INVALID_HANDLE_VALUE if never used).
| thread_wait_proc wait |
Wait function to call to wait on the Event if it is not Signaled.
| thread_wait_ex_proc waitex |
Wait function to call to wait with timeout on the Event if it is not Signaled.
| thread_release_proc release |
Release function to call if any threads are waiting when Event is Signaled.
| thread_abandon_proc abandon |
Abandon function to call if any threads are waiting when Event is destroyed.
| EVENT_ENTRY* prev |
Previous entry in Event table.
| EVENT_ENTRY* next |
Next entry in Event table.