summaryrefslogtreecommitdiffstats
path: root/testsuites/mptests/mp06/task1.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/mptests/mp06/task1.c')
-rw-r--r--testsuites/mptests/mp06/task1.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuites/mptests/mp06/task1.c b/testsuites/mptests/mp06/task1.c
index 83500c0e73..fd3331bed9 100644
--- a/testsuites/mptests/mp06/task1.c
+++ b/testsuites/mptests/mp06/task1.c
@@ -161,6 +161,11 @@ rtems_task Test_task(
putchar( '\n' );
if ( Multiprocessing_configuration.node == 2 ) {
+ /* Flush events */
+ puts( "Flushing RTEMS_EVENT_16" );
+ (void) rtems_event_receive(RTEMS_EVENT_16, RTEMS_NO_WAIT, 0, &event_out);
+
+ puts( "Waiting for RTEMS_EVENT_16" );
status = rtems_event_receive(
RTEMS_EVENT_16,
RTEMS_DEFAULT_OPTIONS,