RTEMS 6.1-rc2
|
This source file contains the implementation of the thread queue test support. More...
#include "tx-thread-queue.h"
#include "tx-support.h"
#include "ts-config.h"
#include <rtems/score/threadimpl.h>
#include <rtems/rtems/semimpl.h>
Functions | |
void | TQSend (TQContext *ctx, TQWorkerKind worker, rtems_event_set events) |
void | TQWaitForEventsReceived (const TQContext *ctx, TQWorkerKind worker) |
void | TQWaitForExecutionStop (const TQContext *ctx, TQWorkerKind worker) |
void | TQSendAndWaitForExecutionStop (TQContext *ctx, TQWorkerKind worker, rtems_event_set events) |
void | TQWaitForIntendToBlock (const TQContext *ctx, TQWorkerKind worker) |
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 | 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) |
uint32_t | TQSemGetCount (TQSemContext *ctx) |
void | TQSemSetCount (TQSemContext *ctx, uint32_t count) |
uint32_t | TQSemGetCountClassic (TQSemContext *ctx) |
void | TQSemSetCountClassic (TQSemContext *ctx, uint32_t count) |
This source file contains the implementation of the thread queue test support.