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
P
PolyORB-HI-C
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
6
Issues
6
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
TASTE
PolyORB-HI-C
Commits
0f882748
Commit
0f882748
authored
Jun 25, 2018
by
yoogx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Remove C99 style for loops
parent
0860fad0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
examples/aadlv2/torture_gqueue/torture.c
examples/aadlv2/torture_gqueue/torture.c
+2
-2
No files found.
examples/aadlv2/torture_gqueue/torture.c
View file @
0f882748
...
...
@@ -178,7 +178,7 @@ void period(__po_hi_task_id self) {
printf
(
"
\n\n
*** TEST PERIODIC 2 ***
\n
"
);
count_p6
=
__po_hi_gqueue_get_count
(
self
,
port_p6
);
assert
(
count_p6
==
0
);
for
(
i
nt
i
=
1
;
i
<
number
;
i
++
){
for
(
i
=
1
;
i
<
number
;
i
++
){
sent_lvl
=
lvl
;
r1
.
port
=
REQUEST_PORT
(
per_thread
,
p5
);
r1
.
PORT_VARIABLE
(
per_thread
,
p5
)
=
lvl
;
...
...
@@ -199,7 +199,7 @@ void period(__po_hi_task_id self) {
if
((
number
==
3
)
&&
(
count_p6
==
1
)){
printf
(
"
\n
*** An error message should appear ***
\n\n
"
);
count_p6
=
__po_hi_gqueue_get_count
(
self
,
port_p6
);
for
(
int
j
=
0
;
j
<
count_p6
;
j
++
)
{
for
(
j
=
0
;
j
<
count_p6
;
j
++
)
{
__po_hi_gqueue_next_value
(
self
,
port_p6
);
}
printf
(
"
\n
*** If so, error message test passed ***
\n\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