validation/tc-sched-smp: Fix synchronization issue

Update #3716.
This commit is contained in:
Matt Joyce
2024-01-15 09:26:34 +01:00
committed by Sebastian Huber
parent 283f783d5d
commit 461f118ad0

View File

@@ -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 );
}