aboutsummaryrefslogtreecommitdiffstats
path: root/test/testmtx.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-11-12 11:05:57 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-11-12 11:05:57 +0000
commit5a70ffdbf38323a58d2e1fa6289ad7caea1fe12a (patch)
tree13e0c97a4ce81acf5b535faea5a68a063e277639 /test/testmtx.c
parent014b752b76039952754a9285d2af9c0125b50e33 (diff)
downloadChibiOS-5a70ffdbf38323a58d2e1fa6289ad7caea1fe12a.tar.gz
ChibiOS-5a70ffdbf38323a58d2e1fa6289ad7caea1fe12a.tar.bz2
ChibiOS-5a70ffdbf38323a58d2e1fa6289ad7caea1fe12a.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6464 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/testmtx.c')
-rw-r--r--test/testmtx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/testmtx.c b/test/testmtx.c
index b40242d3d..c9ba9e093 100644
--- a/test/testmtx.c
+++ b/test/testmtx.c
@@ -399,6 +399,7 @@ static void mtx4_execute(void) {
test_assert(11, chThdGetPriorityX() == p2, "wrong priority level");
chSysLock();
chMtxUnlockS();
+ chSchRescheduleS();
chSysUnlock();
test_assert(12, chThdGetPriorityX() == p1, "wrong priority level");
chThdSleepMilliseconds(100);