Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Thanassis Tsiodras
RTEMS-build-workflows
Commits
caf0f8ce
Commit
caf0f8ce
authored
Apr 08, 2016
by
Thanassis Tsiodras
Browse files
Make the non-FPU task last longer
parent
fac76e56
Changes
2
Hide whitespace changes
Inline
Side-by-side
OAR/src/init.c
View file @
caf0f8ce
...
...
@@ -25,7 +25,7 @@ rtems_task Init(rtems_task_argument argument)
Task_name
[
i
],
(
rtems_task_priority
)
2
,
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)
i
==
1
?
RTEMS_FLOATING_POINT
:
RTEMS_DEFAULT_ATTRIBUTES
,
&
Task_id
[
i
]);
...
...
OAR/src/task2.c
View file @
caf0f8ce
...
...
@@ -9,7 +9,7 @@ rtems_task Task2_EntryPoint(rtems_task_argument argument)
int
j
;
long
long
int
dummy
=
0
;
for
(
j
=
0
;
j
<
1
00000
;
j
++
)
{
for
(
j
=
0
;
j
<
5
00000
;
j
++
)
{
int
k
;
for
(
k
=
0
;
k
<
100
;
k
++
)
dummy
^=
k
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment