Abstracts the concept of a queue to hide different implementations.
More...
|
struct pios_queue * | PIOS_Queue_Create (size_t queue_length, size_t item_size) |
|
void | PIOS_Queue_Delete (struct pios_queue *queuep) |
|
bool | PIOS_Queue_Send (struct pios_queue *queuep, const void *itemp, uint32_t timeout_ms) |
|
bool | PIOS_Queue_Send_FromISR (struct pios_queue *queuep, const void *itemp, bool *wokenp) |
|
bool | PIOS_Queue_Receive (struct pios_queue *queuep, void *itemp, uint32_t timeout_ms) |
|
size_t | PIOS_Queue_GetItemSize (struct pios_queue *queuep) |
|
static bool | PIOS_Queue_Send_Impl (struct pios_queue *queuep, const void *itemp, uint32_t timeout_ms) |
|
static bool | PIOS_Queue_Receive_Impl (struct pios_queue *queuep, void *itemp, uint32_t timeout_ms) |
|
Abstracts the concept of a queue to hide different implementations.
#define PIOS_QUEUE_TIMEOUT_MAX 0xffffffff |
struct pios_queue * PIOS_Queue_Create |
( |
size_t |
queue_length, |
|
|
size_t |
item_size |
|
) |
| |
void PIOS_Queue_Delete |
( |
struct pios_queue * |
queuep | ) |
|
size_t PIOS_Queue_GetItemSize |
( |
struct pios_queue * |
queuep | ) |
|
bool PIOS_Queue_Receive |
( |
struct pios_queue * |
queuep, |
|
|
void * |
itemp, |
|
|
uint32_t |
timeout_ms |
|
) |
| |
static bool PIOS_Queue_Receive_Impl |
( |
struct pios_queue * |
queuep, |
|
|
void * |
itemp, |
|
|
uint32_t |
timeout_ms |
|
) |
| |
|
static |
bool PIOS_Queue_Send |
( |
struct pios_queue * |
queuep, |
|
|
const void * |
itemp, |
|
|
uint32_t |
timeout_ms |
|
) |
| |
bool PIOS_Queue_Send_FromISR |
( |
struct pios_queue * |
queuep, |
|
|
const void * |
itemp, |
|
|
bool * |
wokenp |
|
) |
| |
static bool PIOS_Queue_Send_Impl |
( |
struct pios_queue * |
queuep, |
|
|
const void * |
itemp, |
|
|
uint32_t |
timeout_ms |
|
) |
| |
|
static |