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
fac76e56
Commit
fac76e56
authored
Apr 08, 2016
by
Thanassis Tsiodras
Browse files
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
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
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