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
lizhongxiao
OpenXG-RAN
Commits
44c7ed45
Commit
44c7ed45
authored
Oct 11, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/threadPool-hotfix' into integration_2022_wk41
parents
343242f1
3ea36ba0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
cmake_targets/tools/build_helper
cmake_targets/tools/build_helper
+1
-0
common/utils/threadPool/thread-pool.c
common/utils/threadPool/thread-pool.c
+2
-2
No files found.
cmake_targets/tools/build_helper
View file @
44c7ed45
...
@@ -121,6 +121,7 @@ check_supported_distribution() {
...
@@ -121,6 +121,7 @@ check_supported_distribution() {
"rhel8.5") return 0 ;;
"rhel8.5") return 0 ;;
"rhel8.6") return 0 ;;
"rhel8.6") return 0 ;;
"rhel8.7") return 0 ;;
"rhel8.7") return 0 ;;
"rhel9.0") return 0 ;;
"centos7") return 0 ;;
"centos7") return 0 ;;
"centos8") return 0 ;;
"centos8") return 0 ;;
esac
esac
...
...
common/utils/threadPool/thread-pool.c
View file @
44c7ed45
...
@@ -167,9 +167,9 @@ void initFloatingCoresTpool(int nbThreads,tpool_t *pool, bool performanceMeas, c
...
@@ -167,9 +167,9 @@ void initFloatingCoresTpool(int nbThreads,tpool_t *pool, bool performanceMeas, c
if
(
nbThreads
)
{
if
(
nbThreads
)
{
strcpy
(
threads
,
"-1"
);
strcpy
(
threads
,
"-1"
);
for
(
int
i
=
1
;
i
<
nbThreads
;
i
++
)
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
);
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