Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_COMPLETION_ENTRY Struct Reference

#include <threads.h>

Data Fields

uint32_t signature
 Signature for entry validation.
uint32_t state
 State of the completion (Reset/Complete).
uint32_t count
 Count of the completion (Only applicable if COMPLETION_FLAG_COUNTED).
uint32_t flags
 Completion Flags (eg COMPLETION_FLAG_IRQ).
SPIN_HANDLE lock
 Completion Lock.
LIST_HANDLE list
 List of threads waiting on this Completion (or INVALID_HANDLE_VALUE if never used).
thread_wait_proc wait
 Wait function to call to wait on the Completion.
thread_wait_ex_proc waitex
 Wait function to call to wait with timeout on the Completion.
thread_release_proc release
 Release function to call if any threads are waiting when Completion is completed.
thread_abandon_proc abandon
 Abandon function to call if any threads are waiting when Completion is destroyed.
COMPLETION_ENTRYprev
 Previous entry in Completion table.
COMPLETION_ENTRYnext
 Next entry in Completion table.

Field Documentation

◆ signature

uint32_t signature

Signature for entry validation.

◆ state

uint32_t state

State of the completion (Reset/Complete).

◆ count

uint32_t count

Count of the completion (Only applicable if COMPLETION_FLAG_COUNTED).

◆ flags

uint32_t flags

Completion Flags (eg COMPLETION_FLAG_IRQ).

◆ lock

Completion Lock.

◆ list

List of threads waiting on this Completion (or INVALID_HANDLE_VALUE if never used).

◆ wait

Wait function to call to wait on the Completion.

◆ waitex

Wait function to call to wait with timeout on the Completion.

◆ release

Release function to call if any threads are waiting when Completion is completed.

◆ abandon

Abandon function to call if any threads are waiting when Completion is destroyed.

◆ prev

Previous entry in Completion table.

◆ next

Next entry in Completion table.


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