Commit f03cf5d7 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Example params added (In case of need for timeslicing)

parent 160952a9
Pipeline #57 skipped
......@@ -25,7 +25,8 @@ rtems_task Init(rtems_task_argument argument)
Task_name[i],
(rtems_task_priority) 2,
RTEMS_MINIMUM_STACK_SIZE,
RTEMS_DEFAULT_MODES,
RTEMS_DEFAULT_MODES, // use RTEMS_DEFAULT_MODES | RTEMS_TIMESLICE for Linux/Windows like
// handling of tasks with same priority (i.e. pre-emption)
RTEMS_FLOATING_POINT, // use RTEMS_DEFAULT_ATTRIBUTES for non-native FPU tasks
&Task_id[i]);
if (status != RTEMS_SUCCESSFUL) {
......
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