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
2015-01-09 14:03:32 +01:00
parent 2a4f9d7f18
commit ad0743db07
+3 -1
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 */
}
}