summaryrefslogtreecommitdiffstats
path: root/testsuites/validation/tr-tq-flush-priority-inherit.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-priority-inherit.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-priority-inherit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/validation/tr-tq-flush-priority-inherit.c b/testsuites/validation/tr-tq-flush-priority-inherit.c
index beb48ebbe7..7c018496f0 100644
--- a/testsuites/validation/tr-tq-flush-priority-inherit.c
+++ b/testsuites/validation/tr-tq-flush-priority-inherit.c
@@ -179,7 +179,7 @@ static void Flush( void *arg )
ctx = arg;
TQSchedulerRecordStart( ctx->tq_ctx );
- TQFlush( ctx->tq_ctx );
+ TQFlush( ctx->tq_ctx, true );
}
static void SchedulerEvent(
@@ -434,7 +434,7 @@ static void ScoreTqReqFlushPriorityInherit_Action(
);
} 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 );