Changeset 4b374f36 in rtems for testsuites/tmtests/tm12/task1.c


Ignore:
Timestamp:
Aug 17, 1995, 7:36:43 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
3b438fa
Parents:
556fb911
Message:

maximum number of messages removed and include statement cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/tmtests/tm12/task1.c

    r556fb911 r4b374f36  
    99 *  notice must appear in all copies of this file and its derivatives.
    1010 *
    11  *  $Id$
     11 *  task1.c,v 1.2 1995/05/31 17:16:00 joel Exp
    1212 */
    1313
     
    7575    rtems_build_name( 'M', 'Q', '1', ' ' ),
    7676    OPERATION_COUNT,
     77    16,
    7778    RTEMS_DEFAULT_ATTRIBUTES,
    7879    &Queue_id
     
    116117  Timer_initialize();
    117118    for ( index=1 ; index <= OPERATION_COUNT ; index++ )
    118       (void) rtems_message_queue_send( Queue_id, (long (*)[4]) Buffer );
     119      (void) rtems_message_queue_send( Queue_id, (long (*)[4]) Buffer, 16 );
    119120  end_time = Read_timer();
    120121
     
    134135)
    135136{
     137  rtems_unsigned32 size;
     138
    136139  (void) rtems_message_queue_receive(
    137140           Queue_id,
    138141           (long (*)[4]) Buffer,
     142           &size,
    139143           RTEMS_DEFAULT_OPTIONS,
    140144           RTEMS_NO_TIMEOUT
Note: See TracChangeset for help on using the changeset viewer.