summaryrefslogtreecommitdiffstats
path: root/testsuites/validation/tr-tq-flush-fifo.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2022-08-31 11:26:00 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2022-08-31 11:29:37 +0200
commit1dca588f63cb8b2752a5012a3401e5150081b285 (patch)
tree67b77969ba7d2d06a655653e0c38d5e6d24bb08c /testsuites/validation/tr-tq-flush-fifo.c
parentvalidation: Fix use of uninitialized variables (diff)
downloadrtems-1dca588f63cb8b2752a5012a3401e5150081b285.tar.bz2
validation: Support a partial thread queue flush
Update #3716.
Diffstat (limited to '')
-rw-r--r--testsuites/validation/tr-tq-flush-fifo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/validation/tr-tq-flush-fifo.c b/testsuites/validation/tr-tq-flush-fifo.c
index 9b6821ac27..a50e41a66e 100644
--- a/testsuites/validation/tr-tq-flush-fifo.c
+++ b/testsuites/validation/tr-tq-flush-fifo.c
@@ -147,7 +147,7 @@ static void Flush( void *arg )
ctx = arg;
TQSchedulerRecordStart( ctx->tq_ctx );
- TQFlush( ctx->tq_ctx );
+ TQFlush( ctx->tq_ctx, true );
}
static void SchedulerEvent(
@@ -288,7 +288,7 @@ static void ScoreTqReqFlushFifo_Action( ScoreTqReqFlushFifo_Context *ctx )
TQSend( ctx->tq_ctx, TQ_BLOCKER_D, TQ_EVENT_ENQUEUE );
} else {
TQSchedulerRecordStart( ctx->tq_ctx );
- TQSend( ctx->tq_ctx, TQ_BLOCKER_A, TQ_EVENT_FLUSH );
+ TQSend( ctx->tq_ctx, TQ_BLOCKER_A, TQ_EVENT_FLUSH_ALL );
}
TQSchedulerRecordStop( ctx->tq_ctx );