#include "IntTypes.h"
#include "Thread.h"
#include <stdbool.h>
Go to the source code of this file.
|
| typedef void(* | OnTSQueueWrapAroundFn) (void *pItemToBeLost) |
| | callback for when an item is about to be lost by the queue reaching its maximum size and wrapping around, losing the first item in the queue. An opportunity to properly fre the item in the queue.
|
| |
◆ OnTSQueueWrapAroundFn
| typedef void(* OnTSQueueWrapAroundFn) (void *pItemToBeLost) |
callback for when an item is about to be lost by the queue reaching its maximum size and wrapping around, losing the first item in the queue. An opportunity to properly fre the item in the queue.
◆ TSQ_Dequeue()
- Parameters
-
- Returns
- true if something dequeued, false if queue is empty
◆ TSQ_Enqueue()
◆ TSQ_Init()
- Parameters
-
| pQueue | |
| itemSize | |
| queueSizeItems | |
| wrapAroundCallback |
|