[PATCH 04] MP06 TEST: avoid program failure when slow UART on CPU core 0
Daniel Hellstrom
daniel at gaisler.com
Thu Feb 2 17:04:11 UTC 2012
On 02/02/2012 04:37 PM, Gedare Bloom wrote:
> This seems hackish.
Yes, I agree. It illustrates the problem at least. Without this MP06 does not work on some hardware, perhaps some other way of synchronizing is required here.
> 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