diff options
Diffstat (limited to 'test/testmtx.c')
-rw-r--r-- | test/testmtx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/testmtx.c b/test/testmtx.c index 149f47d11..83c6278b1 100644 --- a/test/testmtx.c +++ b/test/testmtx.c @@ -399,6 +399,7 @@ static void mtx4_execute(void) { test_assert(11, chThdGetPriority() == p2, "wrong priority level");
chSysLock();
chMtxUnlockS();
+ chSchRescheduleS();
chSysUnlock();
test_assert(12, chThdGetPriority() == p1, "wrong priority level");
chThdSleepMilliseconds(100);
|