Changeset 13f09e6 in rtems for testsuites/sptests/sp13/task1.c


Ignore:
Timestamp:
Jul 31, 1997, 7:48:23 PM (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
91333c2
Parents:
e7d8b58
Message:

Added support for rtems_message_queue_get_number_pending.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/sp13/task1.c

    re7d8b58 r13f09e6  
    199199  directive_failed( status, "rtems_message_queue_delete" );
    200200
     201  puts( "TA1 - rtems_message_queue_get_number_pending - SUCCESSFUL\n" );
     202  status = rtems_message_queue_get_number_pending( Queue_id[ 3 ], &count );
     203  printf( "TA1 - %d messages are pending on Q 3\n", count );
     204
    201205  puts( "TA1 - rtems_message_queue_flush - empty Q 3" );
    202206  status = rtems_message_queue_flush( Queue_id[ 3 ], &count );
     
    212216  status = rtems_message_queue_send( Queue_id[ 3 ], buffer, 16 );
    213217  directive_failed( status, "rtems_message_queue_send" );
     218
     219  puts( "TA1 - rtems_message_queue_get_number_pending - SUCCESSFUL\n" );
     220  status = rtems_message_queue_get_number_pending( Queue_id[ 3 ], &count );
     221  printf( "TA1 - %d messages are pending on Q 3\n", count );
    214222
    215223  Fill_buffer( "BUFFER 3 TO Q 3", buffer );
Note: See TracChangeset for help on using the changeset viewer.