diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-01-23 14:50:42 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-01-23 14:50:42 +0000 |
commit | 68003a03c299850f0b66adfa4df6c9d6b6ba6ab2 (patch) | |
tree | 719bb767775d1cddb05f070b32b67abfa51a37e9 /test/test.c | |
parent | 1aecb14913213565c804dda42322c6fb3136827d (diff) | |
download | ChibiOS-68003a03c299850f0b66adfa4df6c9d6b6ba6ab2.tar.gz ChibiOS-68003a03c299850f0b66adfa4df6c9d6b6ba6ab2.tar.bz2 ChibiOS-68003a03c299850f0b66adfa4df6c9d6b6ba6ab2.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@182 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/test.c')
-rw-r--r-- | test/test.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/test/test.c b/test/test.c index 30aa43a2d..7d8d3b792 100644 --- a/test/test.c +++ b/test/test.c @@ -134,14 +134,6 @@ t_msg Thread4(void *p) { return 0;
}
-t_msg Thread5(void *p) {
-
- // NOTE, this thread does not serve messages this causes the client to
- // timeout.
- chThdSleep(3000);
- return 0;
-}
-
t_msg Thread6(void *p) {
while (!chThdShouldTerminate())
@@ -386,20 +378,6 @@ void testmsg1(void) { println("");
}
-void testmsg2(void) {
- unsigned int i;
-
- println("*** Messages, timeout test, you should read ABCDE (slowly):");
- t1 = chThdCreate(chThdGetPriority()-1, 0, wsT1, sizeof(wsT1), Thread5, chThdSelf());
- for (i = 0; i < 5; i++) {
- chFDDPut(comp, 'A' + i);
- chMsgSendTimeout(t1, 'A' + i, 500);
- }
- chMsgSendTimeout(t1, 0, 500);
- chThdWait(t1);
- println("");
-}
-
__attribute__((noinline))
unsigned int msg_loop_test(Thread *tp) {
unsigned int i;
@@ -565,7 +543,6 @@ t_msg TestThread(void *p) { * Messages tests.
*/
testmsg1();
- testmsg2();
/*
* Kernel benchmarks.
|