Merge remote-tracking branch 'origin/threadPool-hotfix' into integration_2022_wk41

This commit is contained in:
Robert Schmidt
2022-10-11 23:32:21 +02:00
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -121,6 +121,7 @@ check_supported_distribution() {
"rhel8.5") return 0 ;;
"rhel8.6") return 0 ;;
"rhel8.7") return 0 ;;
"rhel9.0") return 0 ;;
"centos7") return 0 ;;
"centos8") return 0 ;;
esac
+2 -2
View File
@@ -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);
}