From 461f118ad005a27c648b437a9869d11fd3b087bd Mon Sep 17 00:00:00 2001 From: Matt Joyce Date: Mon, 15 Jan 2024 09:26:34 +0100 Subject: validation/tc-sched-smp: Fix synchronization issue Update #3716. --- testsuites/validation/tc-sched-smp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/testsuites/validation/tc-sched-smp.c b/testsuites/validation/tc-sched-smp.c index 0e8b9b92e9..3e8e3fe1a2 100644 --- a/testsuites/validation/tc-sched-smp.c +++ b/testsuites/validation/tc-sched-smp.c @@ -685,6 +685,7 @@ static void PrepareOwnerScheduled( Context *ctx ) SetScheduler( ctx->worker_id[ WORKER_C ], SCHEDULER_B_ID, PRIO_HIGH ); SetPriority( ctx->worker_id[ WORKER_A ], PRIO_NORMAL ); MakeBusy( ctx, WORKER_C ); + WaitForBusy( ctx, WORKER_C ); MakeBusy( ctx, WORKER_A ); } -- cgit v1.2.3