Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RTEMS-build-workflows
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thanassis Tsiodras
RTEMS-build-workflows
Commits
caf0f8ce
Commit
caf0f8ce
authored
Apr 08, 2016
by
Thanassis Tsiodras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the non-FPU task last longer
parent
fac76e56
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
OAR/src/init.c
OAR/src/init.c
+1
-1
OAR/src/task2.c
OAR/src/task2.c
+1
-1
No files found.
OAR/src/init.c
View file @
caf0f8ce
...
@@ -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
]);
...
...
OAR/src/task2.c
View file @
caf0f8ce
...
@@ -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
<
1
00000
;
j
++
)
{
for
(
j
=
0
;
j
<
5
00000
;
j
++
)
{
int
k
;
int
k
;
for
(
k
=
0
;
k
<
100
;
k
++
)
for
(
k
=
0
;
k
<
100
;
k
++
)
dummy
^=
k
;
dummy
^=
k
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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