diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-17 11:04:57 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-17 11:04:57 +0000 |
commit | 4f49b546b101841d523df17806bea67b269a2a85 (patch) | |
tree | 4690183f1989a0caff203b688c0dbdf25f9c26d6 /test | |
parent | bfa3ba9f00d263a15d6d6b2dec2aa0b81058df27 (diff) | |
download | ChibiOS-4f49b546b101841d523df17806bea67b269a2a85.tar.gz ChibiOS-4f49b546b101841d523df17806bea67b269a2a85.tar.bz2 ChibiOS-4f49b546b101841d523df17806bea67b269a2a85.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6167 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test')
-rw-r--r-- | test/testthd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testthd.c b/test/testthd.c index 34de252a8..522e54b9b 100644 --- a/test/testthd.c +++ b/test/testthd.c @@ -97,11 +97,11 @@ static void thd2_execute(void) { threads[0] = chThdCreateStatic(wa[0], WA_SIZE, chThdGetPriorityX()-5, thread, "E");
threads[4] = chThdCreateStatic(wa[4], WA_SIZE, chThdGetPriorityX()-1, thread, "A");
threads[3] = chThdCreateStatic(wa[3], WA_SIZE, chThdGetPriorityX()-2, thread, "B");
- /* Done this way for coverage of chThdCreateI() and chThdResume().*/
+ /* Done this way for coverage of chThdCreateI() and chThdStart().*/
chSysLock();
threads[2] = chThdCreateI(wa[2], WA_SIZE, chThdGetPriorityX()-3, thread, "C");
chSysUnlock();
- chThdResume(threads[2]);
+ chThdStart(threads[2]);
test_wait_threads();
test_assert_sequence(1, "ABCDE");
}
|