aboutsummaryrefslogtreecommitdiffstats
path: root/test/testbmk.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-07-30 14:56:35 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-07-30 14:56:35 +0000
commitda290782934b7038dfccd5f76b2b75a792e7304f (patch)
tree1a80d79f6b22c0723038910b7e4aa8dd25f3ea74 /test/testbmk.c
parente150283e1f071673e1d3490cbf85651e5502d421 (diff)
downloadChibiOS-da290782934b7038dfccd5f76b2b75a792e7304f.tar.gz
ChibiOS-da290782934b7038dfccd5f76b2b75a792e7304f.tar.bz2
ChibiOS-da290782934b7038dfccd5f76b2b75a792e7304f.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@379 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/testbmk.c')
-rw-r--r--test/testbmk.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/testbmk.c b/test/testbmk.c
index f2fcb94dc..acdfa50e8 100644
--- a/test/testbmk.c
+++ b/test/testbmk.c
@@ -236,11 +236,7 @@ static void bmk6_execute(void) {
ChkIntSources();
#endif
} while (!test_timer_done);
- chThdTerminate(threads[0]);
- chThdTerminate(threads[1]);
- chThdTerminate(threads[2]);
- chThdTerminate(threads[3]);
- chThdTerminate(threads[4]);
+ test_terminate_threads();
chSemReset(&sem1, 0);
test_wait_threads();