forked from Imagelibrary/rtems
maximum number of messages removed and include statement cleanup
This commit is contained in:
@@ -19,7 +19,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$
|
||||
* init.c,v 1.2 1995/05/31 17:10:13 joel Exp
|
||||
*/
|
||||
|
||||
#include "system.h"
|
||||
@@ -78,14 +78,15 @@ rtems_task Init(
|
||||
|
||||
status = rtems_task_start( Task_id[ 3 ], Task_3, 0 );
|
||||
directive_failed( status, "rtems_task_start of TA3" );
|
||||
|
||||
|
||||
Queue_name[ 1 ] = rtems_build_name( 'Q', '1', ' ', ' ' );
|
||||
Queue_name[ 2 ] = rtems_build_name( 'Q', '2', ' ', ' ' );
|
||||
Queue_name[ 3 ] = rtems_build_name( 'Q', '3', ' ', ' ' );
|
||||
|
||||
status = rtems_message_queue_create(
|
||||
Queue_name[ 1 ],
|
||||
0,
|
||||
100,
|
||||
16,
|
||||
RTEMS_DEFAULT_ATTRIBUTES,
|
||||
&Queue_id[ 1 ]
|
||||
);
|
||||
@@ -94,14 +95,16 @@ rtems_task Init(
|
||||
status = rtems_message_queue_create(
|
||||
Queue_name[ 2 ],
|
||||
10,
|
||||
RTEMS_PRIORITY | RTEMS_LIMIT,
|
||||
16,
|
||||
RTEMS_PRIORITY,
|
||||
&Queue_id[ 2 ]
|
||||
);
|
||||
directive_failed( status, "rtems_message_queue_create of Q2" );
|
||||
|
||||
status = rtems_message_queue_create(
|
||||
Queue_name[ 3 ],
|
||||
0,
|
||||
100,
|
||||
16,
|
||||
RTEMS_DEFAULT_ATTRIBUTES,
|
||||
&Queue_id[ 3 ]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user