diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-09-22 15:29:48 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-09-22 15:29:48 +0000 |
commit | 9a1c91e6ee9baaee3529e16fc732cbd9c7e99844 (patch) | |
tree | 5916995c67730dc328d2bd40392f6d21c3a54c7e /test/testsem.c | |
parent | 9b2c9869dd0f5b544d6f1c43c2abea30e5a27b94 (diff) | |
download | ChibiOS-9a1c91e6ee9baaee3529e16fc732cbd9c7e99844.tar.gz ChibiOS-9a1c91e6ee9baaee3529e16fc732cbd9c7e99844.tar.bz2 ChibiOS-9a1c91e6ee9baaee3529e16fc732cbd9c7e99844.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@437 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/testsem.c')
-rw-r--r-- | test/testsem.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/testsem.c b/test/testsem.c index 4442117e9..6afa715cb 100644 --- a/test/testsem.c +++ b/test/testsem.c @@ -47,11 +47,11 @@ static msg_t thread(void *p) { static void sem1_execute(void) {
- threads[0] = chThdCreate(chThdGetPriority()+5, wa[0], STKSIZE, thread, "A");
- threads[1] = chThdCreate(chThdGetPriority()+1, wa[1], STKSIZE, thread, "B");
- threads[2] = chThdCreate(chThdGetPriority()+3, wa[2], STKSIZE, thread, "C");
- threads[3] = chThdCreate(chThdGetPriority()+4, wa[3], STKSIZE, thread, "D");
- threads[4] = chThdCreate(chThdGetPriority()+2, wa[4], STKSIZE, thread, "E");
+ threads[0] = chThdCreateStatic(wa[0], STKSIZE, chThdGetPriority()+5, thread, "A");
+ threads[1] = chThdCreateStatic(wa[1], STKSIZE, chThdGetPriority()+1, thread, "B");
+ threads[2] = chThdCreateStatic(wa[2], STKSIZE, chThdGetPriority()+3, thread, "C");
+ threads[3] = chThdCreateStatic(wa[3], STKSIZE, chThdGetPriority()+4, thread, "D");
+ threads[4] = chThdCreateStatic(wa[4], STKSIZE, chThdGetPriority()+2, thread, "E");
chSemSignal(&sem1);
chSemSignal(&sem1);
chSemSignal(&sem1);
|