Changeset 4b374f36 in rtems for testsuites/mptests/mp09


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, master
Children:
3b438fa
Parents:
556fb911
Message:

maximum number of messages removed and include statement cleanup

Location:
testsuites/mptests/mp09
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • testsuites/mptests/mp09/init.c

    r556fb911 r4b374f36  
    2020 *  notice must appear in all copies of this file and its derivatives.
    2121 *
    22  *  $Id$
     22 *  init.c,v 1.2 1995/05/31 17:03:11 joel Exp
    2323 */
    2424
     
    5050      Queue_name[ 1 ],
    5151      3,
    52       RTEMS_GLOBAL|RTEMS_LIMIT,
     52      16,
     53      RTEMS_GLOBAL,
    5354      &Queue_id[ 1 ]
    5455    );
  • testsuites/mptests/mp09/node1/mp09.scn

    r556fb911 r4b374f36  
    1111Receiving message ...
    1212Received : ABCDEFGHIJKLMNO
     13Receiver delaying for a second
    1314rtems_message_queue_send: 123456789012345
    1415Delaying for a second
  • testsuites/mptests/mp09/node2/mp09.scn

    r556fb911 r4b374f36  
    1717Receiving message ...
    1818Received : ABCDEFGHIJKLMNO
     19Receiver delaying for a second
    1920Flushing remote empty queue
    20 00 messages were flushed on the remote queue
     210 messages were flushed on the remote queue
    2122Send messages to be flushed from remote queue
    2223Flushing remote queue
    23 01 messages were flushed on the remote queue
     241 messages were flushed on the remote queue
    2425Waiting for message queue to be deleted
    25 
    2626Global message queue deleted
    2727*** END OF TEST 9 ***
  • testsuites/mptests/mp09/recvmsg.c

    r556fb911 r4b374f36  
    1616 *  notice must appear in all copies of this file and its derivatives.
    1717 *
    18  *  $Id$
     18 *  recvmsg.c,v 1.2 1995/05/31 17:03:14 joel Exp
    1919 */
    2020
     
    2525 rtems_status_code status;
    2626 rtems_unsigned32  index;
     27 rtems_unsigned32  size;
    2728 char              receive_buffer[16];
    2829
     
    3233     Queue_id[ 1 ],
    3334     (long (*)[4])receive_buffer,
     35     &size,
    3436     RTEMS_DEFAULT_OPTIONS,
    3537     RTEMS_NO_TIMEOUT
  • testsuites/mptests/mp09/sendmsg.c

    r556fb911 r4b374f36  
    1616 *  notice must appear in all copies of this file and its derivatives.
    1717 *
    18  *  $Id$
     18 *  sendmsg.c,v 1.2 1995/05/31 17:03:16 joel Exp
    1919 */
    2020
     
    2929  puts( buffer1 );
    3030
    31   status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer1 );
     31  status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer1, 16 );
    3232  directive_failed( status, "rtems_message_queue_send" );
    3333
     
    3838  puts_nocr( "rtems_message_queue_urgent: " );
    3939  puts( buffer2 );
    40   status = rtems_message_queue_urgent( Queue_id[ 1 ], (long (*)[4])buffer2 );
     40  status = rtems_message_queue_urgent( Queue_id[ 1 ], (long (*)[4])buffer2, 16 );
    4141  directive_failed( status, "rtems_message_queue_urgent" );
    4242
     
    5050    Queue_id[ 1 ],
    5151    (long (*)[4])buffer3,
     52    16,
    5253    &broadcast_count
    5354  );
  • testsuites/mptests/mp09/system.h

    r556fb911 r4b374f36  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  $Id$
     14 *  system.h,v 1.2 1995/05/31 17:03:17 joel Exp
    1515 */
    1616
    17 #include <rtems.h>
    18 #include "tmacros.h"
     17#include <tmacros.h>
    1918
    2019/* Miscellaneous */
  • testsuites/mptests/mp09/task1.c

    r556fb911 r4b374f36  
    1717 *  notice must appear in all copies of this file and its derivatives.
    1818 *
    19  *  $Id$
     19 *  task1.c,v 1.2 1995/05/31 17:03:19 joel Exp
    2020 */
    2121
     
    3333  rtems_status_code status;
    3434  rtems_unsigned32  count;
     35  rtems_unsigned32  size;
    3536  char              receive_buffer[16];
    3637
     
    6566    status = rtems_message_queue_flush( Queue_id[ 1 ], &count );
    6667    directive_failed( status, "rtems_message_queue_flush" );
    67     printf( "%02d messages were flushed on the remote queue\n", count );
     68    printf( "%d messages were flushed on the remote queue\n", count );
    6869
    6970    puts( "Send messages to be flushed from remote queue" );
    70     status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer1 );
     71    status = rtems_message_queue_send( Queue_id[ 1 ], (long (*)[4])buffer1, 16 );
    7172    directive_failed( status, "rtems_message_queue_send" );
    7273
     
    7475    status = rtems_message_queue_flush( Queue_id[ 1 ], &count );
    7576    directive_failed( status, "rtems_message_queue_flush" );
    76     printf( "%02d messages were flushed on the remote queue\n", count );
     77    printf( "%d messages were flushed on the remote queue\n", count );
    7778
    7879    puts( "Waiting for message queue to be deleted" );
     
    8081      Queue_id[ 1 ],
    8182      (long (*)[4])receive_buffer,
     83      &size,
    8284      RTEMS_DEFAULT_OPTIONS,
    8385      RTEMS_NO_TIMEOUT
Note: See TracChangeset for help on using the changeset viewer.