#include <stdlib.h>
#include "FreeRTOS.h"
#include "task.h"
#include "queue.h"
#include "AltBlckQ.h"
Data Structures | |
struct | BLOCKING_QUEUE_PARAMETERS |
Macros | |
#define | blckqNUM_TASK_SETS ( 3 ) |
#define | blckqSTACK_SIZE configMINIMAL_STACK_SIZE |
Typedefs | |
typedef struct BLOCKING_QUEUE_PARAMETERS | xBlockingQueueParameters |
Functions | |
static | portTASK_FUNCTION (vBlockingQueueProducer, pvParameters) |
static | portTASK_FUNCTION (vBlockingQueueConsumer, pvParameters) |
static | portTASK_FUNCTION_PROTO (vBlockingQueueProducer, pvParameters) |
static | portTASK_FUNCTION_PROTO (vBlockingQueueConsumer, pvParameters) |
void | vStartAltBlockingQueueTasks (unsigned portBASE_TYPE uxPriority) |
portBASE_TYPE | xAreAltBlockingQueuesStillRunning (void) |
Variables | |
static volatile portSHORT | sBlockingConsumerCount [blckqNUM_TASK_SETS] = { ( unsigned portSHORT ) 0, ( unsigned portSHORT ) 0, ( unsigned portSHORT ) 0 } |
static volatile portSHORT | sBlockingProducerCount [blckqNUM_TASK_SETS] = { ( unsigned portSHORT ) 0, ( unsigned portSHORT ) 0, ( unsigned portSHORT ) 0 } |
#define blckqNUM_TASK_SETS ( 3 ) |
Referenced by xAreAltBlockingQueuesStillRunning().
#define blckqSTACK_SIZE configMINIMAL_STACK_SIZE |
Referenced by vStartAltBlockingQueueTasks().
typedef struct BLOCKING_QUEUE_PARAMETERS xBlockingQueueParameters |
|
static |
|
static |
|
static |
|
static |
void vStartAltBlockingQueueTasks | ( | unsigned portBASE_TYPE | uxPriority | ) |
portBASE_TYPE xAreAltBlockingQueuesStillRunning | ( | void | ) |
References blckqNUM_TASK_SETS, pdFALSE, pdPASS, and sBlockingConsumerCount.
|
static |
Referenced by vStartAltBlockingQueueTasks(), and xAreAltBlockingQueuesStillRunning().
|
static |