smptests/smpmrsp01: Update run indicator only once

On the Freescale T2080 the excessive concurrent write/read lead to a
livelock condition.
This commit is contained in:
Sebastian Huber
2014-12-22 15:10:32 +01:00
parent 2a4f9d7f18
commit ad0743db07

View File

@@ -212,8 +212,10 @@ static void run_task(rtems_task_argument arg)
{
volatile bool *run = (volatile bool *) arg;
*run = true;
while (true) {
*run = true;
/* Do nothing */
}
}