Safe API Framework
Layered API framework for safety-related applications (ERTMS RBC reference targeting CENELEC EN 50128 SIL 4)
Toggle main menu visibility
Loading...
Searching...
No Matches
Task Queue Module - Architecture
Priority queue for deferred work. Higher priority tasks execute first.
Fixed storage, no allocation. Application dequeues and executes.
Queue Operations
sapi_task_queue_enqueue(queue, task) - Add to queue
sapi_task_queue_dequeue(queue, task) - Remove highest priority
Priority Ordering
Tasks sorted by priority field (higher = first). Same priority: FIFO.
Complexity
Enqueue: O(n) insertion sort
Dequeue: O(n) shift
n = queue size (typically < 64)
*/
Generated by
1.18.0