diff --git a/src/libCom/test/semBinaryTest.c b/src/libCom/test/semBinaryTest.c index aa1106554..cc42d2227 100644 --- a/src/libCom/test/semBinaryTest.c +++ b/src/libCom/test/semBinaryTest.c @@ -119,6 +119,7 @@ void semBinaryTest(int nthreads,int verbose) time_t tp; int errVerboseSave = errVerbose; + threadInit (); errVerbose = verbose; binary = semBinaryMustCreate(semEmpty); printf("calling semBinaryTakeTimeout(binary,2.0) time %ld\n",time(&tp)); diff --git a/src/libCom/test/semMutexTest.c b/src/libCom/test/semMutexTest.c index 3de52defa..66c338491 100644 --- a/src/libCom/test/semMutexTest.c +++ b/src/libCom/test/semMutexTest.c @@ -65,6 +65,7 @@ void semMutexTest(int nthreads,int verbose) time_t tp; int errVerboseSave = errVerbose; + threadInit (); errVerbose = verbose; mutex = semMutexMustCreate(); printf("calling semMutexTake(mutex) time %ld\n",time(&tp)); diff --git a/src/libCom/test/threadTest.c b/src/libCom/test/threadTest.c index b5bbe9e65..2d0ebfd4a 100644 --- a/src/libCom/test/threadTest.c +++ b/src/libCom/test/threadTest.c @@ -39,6 +39,7 @@ void threadTest(int ntasks,int verbose) int startPriority,minPriority,maxPriority; int errVerboseSave = errVerbose; + threadInit (); errVerbose = verbose; errlogInit(4096); id = calloc(ntasks,sizeof(threadId *)); @@ -67,7 +68,7 @@ void threadTest(int ntasks,int verbose) startPriority,minPriority,maxPriority); } threadSleep(.1); - threadShow(); + threadShowAll(0); threadSleep(5.0); errlogPrintf("threadTest terminating\n"); errVerbose = errVerboseSave; diff --git a/src/libCom/test/timerTest.c b/src/libCom/test/timerTest.c index 47a6db04e..6bfe37cb3 100644 --- a/src/libCom/test/timerTest.c +++ b/src/libCom/test/timerTest.c @@ -42,6 +42,7 @@ void timerTest(void) TS_STAMP start; int i; + threadInit (); timerQueue = osiTimerQueueCreate(threadPriorityLow); for(i=0; i