From 4b374f36e7172d59d6d8c252973c1ef65637ecbb Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 17 Aug 1995 19:36:43 +0000 Subject: maximum number of messages removed and include statement cleanup --- testsuites/tmtests/tm14/system.h | 12 +++++------- testsuites/tmtests/tm14/task1.c | 8 ++++++-- 2 files changed, 11 insertions(+), 9 deletions(-) (limited to 'testsuites/tmtests/tm14') diff --git a/testsuites/tmtests/tm14/system.h b/testsuites/tmtests/tm14/system.h index 9133506e7f..66fcd71c55 100644 --- a/testsuites/tmtests/tm14/system.h +++ b/testsuites/tmtests/tm14/system.h @@ -10,14 +10,12 @@ * to the copyright license under the clause at DFARS 252.227-7013. This * notice must appear in all copies of this file and its derivatives. * - * $Id$ + * system.h,v 1.2 1995/05/31 17:16:22 joel Exp */ -#include +#include +#include -#include "coverhd.h" -#include "tmacros.h" - -#include "timesys.h" -#include "timegvar.h" +#include +#include diff --git a/testsuites/tmtests/tm14/task1.c b/testsuites/tmtests/tm14/task1.c index 3020fa66e9..b4b2e1eabf 100644 --- a/testsuites/tmtests/tm14/task1.c +++ b/testsuites/tmtests/tm14/task1.c @@ -8,7 +8,7 @@ * to the copyright license under the clause at DFARS 252.227-7013. This * notice must appear in all copies of this file and its derivatives. * - * $Id$ + * task1.c,v 1.2 1995/05/31 17:16:24 joel Exp */ #include "system.h" @@ -74,6 +74,7 @@ rtems_task test_init( status = rtems_message_queue_create( rtems_build_name( 'M', 'Q', '1', ' ' ), OPERATION_COUNT, + 16, RTEMS_DEFAULT_ATTRIBUTES, &Queue_id ); @@ -115,7 +116,7 @@ rtems_task High_task( Timer_initialize(); for ( index=1 ; index <= OPERATION_COUNT ; index++ ) - (void) rtems_message_queue_urgent( Queue_id, (long (*)[4]) Buffer ); + (void) rtems_message_queue_urgent( Queue_id, (long (*)[4]) Buffer, 16 ); end_time = Read_timer(); put_time( @@ -133,9 +134,12 @@ rtems_task Low_tasks( rtems_task_argument argument ) { + rtems_unsigned32 size; + (void) rtems_message_queue_receive( Queue_id, (long (*)[4]) Buffer, + &size, RTEMS_DEFAULT_OPTIONS, RTEMS_NO_TIMEOUT ); -- cgit v1.2.3