Tpool: don't override positive performanceFlag

This commit is contained in:
Robert Schmidt
2022-03-01 08:49:38 +01:00
parent 17a956067a
commit 261c80d659
+1 -1
View File
@@ -97,7 +97,7 @@ void initNamedTpool(char *params,tpool_t *pool, bool performanceMeas, char *name
char *measr=getenv("threadPoolMeasurements");
pool->measurePerf=performanceMeas;
// force measurement if the output is defined
pool->measurePerf=measr!=NULL;
pool->measurePerf |= measr!=NULL;
if (measr) {
mkfifo(measr,0666);