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
9c3b4c58
Commit
9c3b4c58
authored
Apr 08, 2016
by
Thanassis Tsiodras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Spawn FPU task first
parent
2956f18a
Pipeline
#77
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
OAR/src/init.c
OAR/src/init.c
+2
-2
No files found.
OAR/src/init.c
View file @
9c3b4c58
...
...
@@ -27,7 +27,7 @@ rtems_task Init(rtems_task_argument argument)
RTEMS_MINIMUM_STACK_SIZE
,
RTEMS_DEFAULT_MODES
,
// 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
,
i
==
0
?
RTEMS_FLOATING_POINT
:
RTEMS_DEFAULT_ATTRIBUTES
,
&
Task_id
[
i
]);
if
(
status
!=
RTEMS_SUCCESSFUL
)
{
printf
(
"Failed to rtems_task_create... status:%0x
\n
"
,
status
);
...
...
@@ -37,7 +37,7 @@ rtems_task Init(rtems_task_argument argument)
// Start Task
status
=
rtems_task_start
(
Task_id
[
i
],
i
==
1
?
Task1_EntryPoint
:
Task2_EntryPoint
,
i
==
0
?
Task1_EntryPoint
:
Task2_EntryPoint
,
i
);
}
printf
(
"Parent task sleeps for a second...
\n
"
);
...
...
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