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
fac76e56
Commit
fac76e56
authored
Apr 08, 2016
by
Thanassis Tsiodras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
To make sure the tasks start concurrently, flush stdout
parent
5be03dca
Pipeline
#75
skipped
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
OAR/src/task1.c
OAR/src/task1.c
+1
-0
OAR/src/task2.c
OAR/src/task2.c
+0
-1
No files found.
OAR/src/task1.c
View file @
fac76e56
...
...
@@ -5,6 +5,7 @@ rtems_task Task1_EntryPoint(rtems_task_argument argument)
{
int
task_no
=
(
int
)
argument
;
printf
(
"Inside task %d...
\n
"
,
task_no
);
fflush
(
stdout
);
int
j
;
double
d
=
task_no
;
...
...
OAR/src/task2.c
View file @
fac76e56
...
...
@@ -6,7 +6,6 @@ rtems_task Task2_EntryPoint(rtems_task_argument argument)
int
task_no
=
(
int
)
argument
;
printf
(
"Inside task %d...
\n
"
,
task_no
);
fflush
(
stdout
);
//rtems_task_wake_after(100);
int
j
;
long
long
int
dummy
=
0
;
...
...
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