![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <threads.h>
Data Fields | |
| uint32_t | signature |
| Signature for entry validation. | |
| uint32_t | flags |
| Messageslot Flags (eg MESSAGESLOT_FLAG_IRQ). | |
| SPIN_HANDLE | lock |
| Messageslot Lock. | |
| LIST_HANDLE | list |
| List of threads waiting on this Messageslot (or INVALID_HANDLE_VALUE if never used). | |
| MESSAGE_LIST | messages |
| Messageslot message queue. | |
| thread_wait_proc | wait |
| Wait function to call to wait on the Messageslot if there are no messages. | |
| thread_wait_ex_proc | waitex |
| Wait function to call to wait with timeout on the Messageslot if there are no messages. | |
| thread_release_proc | release |
| Release function to call if any threads are waiting when a message is sent. | |
| thread_abandon_proc | abandon |
| Abandon function to call if any threads are waiting when Messageslot is destroyed. | |
| MESSAGESLOT_ENTRY * | prev |
| Previous entry in Messageslot table. | |
| MESSAGESLOT_ENTRY * | next |
| Next entry in Messageslot table. | |
| uint32_t signature |
Signature for entry validation.
| uint32_t flags |
Messageslot Flags (eg MESSAGESLOT_FLAG_IRQ).
| SPIN_HANDLE lock |
Messageslot Lock.
| LIST_HANDLE list |
List of threads waiting on this Messageslot (or INVALID_HANDLE_VALUE if never used).
| MESSAGE_LIST messages |
Messageslot message queue.
| thread_wait_proc wait |
Wait function to call to wait on the Messageslot if there are no messages.
| thread_wait_ex_proc waitex |
Wait function to call to wait with timeout on the Messageslot if there are no messages.
| thread_release_proc release |
Release function to call if any threads are waiting when a message is sent.
| thread_abandon_proc abandon |
Abandon function to call if any threads are waiting when Messageslot is destroyed.
| MESSAGESLOT_ENTRY* prev |
Previous entry in Messageslot table.
| MESSAGESLOT_ENTRY* next |
Next entry in Messageslot table.