PDK API Guide for J721E
|
Queue interface
Files | |
file | Queue.h |
Queue Handling routines for RTOS. | |
Data Structures | |
struct | Osal_Queue_Elem |
Queue element. More... | |
Functions | |
void | Osal_Queue_construct (void *structPtr, const void *queueParams) |
Function to construct the queue. More... | |
Osal_Queue_Handle | Osal_Queue_handle (void *structPtr) |
Function to return the queue handle from the structure. More... | |
bool | Osal_Queue_empty (Osal_Queue_Handle queueHandle) |
Function to perform queue empty chcek. More... | |
void * | Osal_Queue_get (Osal_Queue_Handle queueHandle) |
Function to return the element at the front of the queue. More... | |
void | Osal_Queue_put (Osal_Queue_Handle queueHandle, Osal_Queue_Elem *ptr) |
Function to put the element to the queue. More... | |
Typedefs | |
typedef void * | Osal_Queue_Handle |
typedef void* Osal_Queue_Handle |
OSAL Queue handle Type
void Osal_Queue_construct | ( | void * | structPtr, |
const void * | queueParams | ||
) |
Function to construct the queue.
structPtr | Pointer to the structure containing the queue element |
queueParams | queue parameters |
Osal_Queue_Handle Osal_Queue_handle | ( | void * | structPtr | ) |
Function to return the queue handle from the structure.
structPtr | Pointer to the structure containing the queue element |
bool Osal_Queue_empty | ( | Osal_Queue_Handle | queueHandle | ) |
Function to perform queue empty chcek.
queueHandle | The queue handle |
void* Osal_Queue_get | ( | Osal_Queue_Handle | queueHandle | ) |
Function to return the element at the front of the queue.
queueHandle | The queue handle |
void Osal_Queue_put | ( | Osal_Queue_Handle | queueHandle, |
Osal_Queue_Elem * | ptr | ||
) |
Function to put the element to the queue.
queueHandle | The queue handle |
ptr | Pointer to the queue element |