Commit caf0f8ce authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Make the non-FPU task last longer

parent fac76e56
...@@ -25,7 +25,7 @@ rtems_task Init(rtems_task_argument argument) ...@@ -25,7 +25,7 @@ rtems_task Init(rtems_task_argument argument)
Task_name[i], Task_name[i],
(rtems_task_priority) 2, (rtems_task_priority) 2,
RTEMS_MINIMUM_STACK_SIZE, RTEMS_MINIMUM_STACK_SIZE,
RTEMS_DEFAULT_MODES, // use RTEMS_DEFAULT_MODES | RTEMS_TIMESLICE for Linux/Windows like RTEMS_TIMESLICE, // use RTEMS_DEFAULT_MODES | RTEMS_TIMESLICE for Linux/Windows like
// handling of tasks with same priority (i.e. pre-emption) // handling of tasks with same priority (i.e. pre-emption)
i == 1 ? RTEMS_FLOATING_POINT : RTEMS_DEFAULT_ATTRIBUTES, i == 1 ? RTEMS_FLOATING_POINT : RTEMS_DEFAULT_ATTRIBUTES,
&Task_id[i]); &Task_id[i]);
......
...@@ -9,7 +9,7 @@ rtems_task Task2_EntryPoint(rtems_task_argument argument) ...@@ -9,7 +9,7 @@ rtems_task Task2_EntryPoint(rtems_task_argument argument)
int j; int j;
long long int dummy = 0; long long int dummy = 0;
for(j=0; j<100000; j++) { for(j=0; j<500000; j++) {
int k; int k;
for(k=0; k<100; k++) for(k=0; k<100; k++)
dummy ^= k; dummy ^= k;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment