#include <services/services.h>#include <stdio.h>#include <debug.h>#include "cmd.h"#include "cmdSchedulerType.h"Defines | |
| #define | CMD_QUEUE_SIZE 10 |
| #define | CMD_EXECUTOR_COUNT 1 |
Functions | |
| bool | queueCommand (T_CMD *pa_poCommand) |
| T_CMD * | dequeueNextCommand (void) |
| bool | releaseExecutor (VDK_ThreadID idExecutor) |
| VDK_ThreadID | bookExecutor (void) |
| void | setupScheduler (void) |
| void | cmdSchedulerType_RunFunction (void **inPtr) |
| int | cmdSchedulerType_ErrorFunction (void **inPtr) |
| void | cmdSchedulerType_InitFunction (void **inPtr, VDK_ThreadCreationBlock *pTCB) |
| void | cmdSchedulerType_DestroyFunction (void **inPtr) |
Variables | |
| T_EXECUTOR_SLOT | g_astExecutors [CMD_EXECUTOR_COUNT] = {0} |
| T_CMD * | g_astCommandQueue [CMD_QUEUE_SIZE] = {0} |
| T_CMD ** | g_pFirstQueued |
| T_CMD ** | g_pLastQueued |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.1