Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Michael Black
OpenXG-RAN
Commits
3ea36ba0
Commit
3ea36ba0
authored
Oct 11, 2022
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix in use of sizeof in thread-pool.c
parent
50f30cfd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
common/utils/threadPool/thread-pool.c
common/utils/threadPool/thread-pool.c
+2
-2
No files found.
common/utils/threadPool/thread-pool.c
View file @
3ea36ba0
...
...
@@ -167,9 +167,9 @@ void initFloatingCoresTpool(int nbThreads,tpool_t *pool, bool performanceMeas, c
if
(
nbThreads
)
{
strcpy
(
threads
,
"-1"
);
for
(
int
i
=
1
;
i
<
nbThreads
;
i
++
)
strncat
(
threads
,
",-1"
,
sizeof
(
threads
-
1
)
);
strncat
(
threads
,
",-1"
,
sizeof
(
threads
)
-
1
);
}
threads
[
sizeof
(
threads
-
1
)
]
=
0
;
threads
[
sizeof
(
threads
)
-
1
]
=
0
;
initNamedTpool
(
threads
,
pool
,
performanceMeas
,
name
);
}
...
...
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