dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_queue.c File Reference
#include <pthread.h>
#include <stdlib.h>
#include <circqueue.h>
#include <pios_queue.h>
#include <pios_thread.h>

Go to the source code of this file.

Data Structures

struct  pios_queue
 

Macros

#define QUEUE_MAGIC   75657551 /* 'Queu' */
 

Functions

struct pios_queuePIOS_Queue_Create (size_t queue_length, size_t item_size)
 
void PIOS_Queue_Delete (struct pios_queue *queuep)
 
static bool PIOS_Queue_Send_Impl (struct pios_queue *queuep, const void *itemp, uint32_t timeout_ms)
 
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_Receive_Impl (struct pios_queue *queuep, void *itemp, uint32_t timeout_ms)
 
bool PIOS_Queue_Receive (struct pios_queue *queuep, void *itemp, uint32_t timeout_ms)
 
size_t PIOS_Queue_GetItemSize (struct pios_queue *queuep)
 

Macro Definition Documentation

#define QUEUE_MAGIC   75657551 /* 'Queu' */

Definition at line 35 of file pios_queue.c.