[PATCH 04] MP06 TEST: avoid program failure when slow UART on CPU core 0

Gedare Bloom gedare at rtems.org
Thu Feb 2 15:37:19 UTC 2012


This seems hackish.

On Thu, Feb 2, 2012 at 9:46 AM, Daniel Hellstrom <daniel at gaisler.com> wrote:
> Signed-off-by: Daniel Hellstrom <daniel at gaisler.com>
> ---
>  testsuites/mptests/mp06/task1.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/testsuites/mptests/mp06/task1.c b/testsuites/mptests/mp06/task1.c
> index 4250bb6..69ec788 100644
> --- a/testsuites/mptests/mp06/task1.c
> +++ b/testsuites/mptests/mp06/task1.c
> @@ -166,6 +166,7 @@ rtems_task Test_task(
>
>   if ( Multiprocessing_configuration.node == 2 ) {
>     /* Flush events */
> +    rtems_task_wake_after( 100 );
>     puts( "Flushing RTEMS_EVENT_16" );
>     (void) rtems_event_receive(RTEMS_EVENT_16, RTEMS_NO_WAIT, 0, &event_out);
>
> --
> 1.7.0.4
>
> _______________________________________________
> rtems-devel mailing list
> rtems-devel at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-devel




More information about the devel mailing list