![]() |
RTEMS 6.1
|
This header file provides the functions to test the Thread Queue Handler. More...
#include "tx-support.h"#include <rtems/test-scheduler.h>#include <rtems/score/atomic.h>#include <rtems/score/status.h>#include <setjmp.h>Go to the source code of this file.
Data Structures | |
| struct | TQContext |
| struct | TQSemContext |
| struct | TQMtxContext |
Typedefs | |
| typedef struct TQContext | TQContext |
| typedef struct TQSemContext | TQSemContext |
| typedef struct TQMtxContext | TQMtxContext |
Functions | |
| void | TQSend (TQContext *ctx, TQWorkerKind worker, rtems_event_set events) |
| void | TQSendAndWaitForExecutionStop (TQContext *ctx, TQWorkerKind worker, rtems_event_set events) |
| void | TQSendAndWaitForIntendToBlock (TQContext *ctx, TQWorkerKind worker, rtems_event_set events) |
| void | TQSendAndWaitForExecutionStopOrIntendToBlock (TQContext *ctx, TQWorkerKind worker, rtems_event_set events) |
| void | TQSendAndSynchronizeRunner (TQContext *ctx, TQWorkerKind worker, rtems_event_set events) |
| void | TQWaitForEventsReceived (const TQContext *ctx, TQWorkerKind worker) |
| void | TQWaitForIntendToBlock (const TQContext *ctx, TQWorkerKind worker) |
| void | TQWaitForExecutionStop (const TQContext *ctx, TQWorkerKind worker) |
| void | TQClearDone (TQContext *ctx, TQWorkerKind worker) |
| void | TQWaitForDone (const TQContext *ctx, TQWorkerKind worker) |
| void | TQSynchronizeRunner (void) |
| void | TQSynchronizeRunner2 (void) |
| void | TQResetCounter (TQContext *ctx) |
| uint32_t | TQGetCounter (const TQContext *ctx) |
| uint32_t | TQGetWorkerCounter (const TQContext *ctx, TQWorkerKind worker) |
| void | TQMutexObtain (const TQContext *ctx, TQMutex mutex) |
| void | TQMutexRelease (const TQContext *ctx, TQMutex mutex) |
| void | TQSetPriority (const TQContext *ctx, TQWorkerKind worker, Priority priority) |
| Priority | TQGetPriority (const TQContext *ctx, TQWorkerKind worker) |
| void | TQSetScheduler (const TQContext *ctx, TQWorkerKind worker, rtems_id scheduler_id, Priority priority) |
| void | TQInitialize (TQContext *ctx) |
| void | TQDestroy (TQContext *ctx) |
| void | TQReset (TQContext *ctx) |
| void | TQSortMutexesByID (TQContext *ctx) |
| void | TQGetProperties (TQContext *ctx, TQWorkerKind enqueued_worker) |
| Status_Control | TQConvertStatus (TQContext *ctx, Status_Control status) |
| void | TQEnqueuePrepare (TQContext *ctx) |
| Status_Control | TQEnqueue (TQContext *ctx, TQWait wait) |
| Status_Control | TQEnqueueFatal (TQContext *ctx) |
| void | TQEnqueueDone (TQContext *ctx) |
| Status_Control | TQSurrender (TQContext *ctx) |
| void | TQFlush (TQContext *ctx, bool flush_all) |
| rtems_tcb * | TQGetOwner (TQContext *ctx) |
| void | TQSchedulerRecordStart (TQContext *ctx) |
| void | TQSchedulerRecordStop (TQContext *ctx) |
| const T_scheduler_event * | TQGetNextAny (TQContext *ctx, size_t *index) |
| const T_scheduler_event * | TQGetNextBlock (TQContext *ctx, size_t *index) |
| const T_scheduler_event * | TQGetNextUnblock (TQContext *ctx, size_t *index) |
| const T_scheduler_event * | TQGetNextUpdatePriority (TQContext *ctx, size_t *index) |
| const T_scheduler_event * | TQGetNextAskForHelp (TQContext *ctx, size_t *index) |
| void | TQDoNothing (TQContext *ctx) |
| Status_Control | TQDoNothingSuccessfully (TQContext *ctx) |
| Status_Control | TQConvertStatusClassic (Status_Control status) |
| Status_Control | TQConvertStatusPOSIX (Status_Control status) |
| void | TQEnqueuePrepareDefault (TQContext *ctx) |
| void | TQEnqueueDoneDefault (TQContext *ctx) |
| Status_Control | TQEnqueueClassicSem (TQContext *ctx, TQWait wait) |
| Status_Control | TQSurrenderClassicSem (TQContext *ctx) |
| rtems_tcb * | TQGetOwnerClassicSem (TQContext *ctx) |
| Status_Control | TQSemSurrender (TQSemContext *ctx) |
| uint32_t | TQSemGetCount (TQSemContext *ctx) |
| void | TQSemSetCount (TQSemContext *ctx, uint32_t count) |
| Status_Control | TQSemSurrenderClassic (TQSemContext *ctx) |
| uint32_t | TQSemGetCountClassic (TQSemContext *ctx) |
| void | TQSemSetCountClassic (TQSemContext *ctx, uint32_t count) |
This header file provides the functions to test the Thread Queue Handler.