fixed missing status
This commit is contained in:
@@ -78,7 +78,10 @@ void epicsMutexOsdDestroy(struct epicsMutexOSD * pmutex)
|
||||
int status;
|
||||
|
||||
status = pthread_mutex_destroy(&pmutex->lock);
|
||||
checkStatus(status,"pthread_mutex_destroy");
|
||||
/* checkStatus(status,"pthread_mutex_destroy");*/
|
||||
if(status) {
|
||||
errlogPrintf("%s failed: error %s\n","duhhhh",strerror((status)));
|
||||
}
|
||||
status = pthread_mutexattr_destroy(&pmutex->mutexAttr);
|
||||
checkStatus(status,"pthread_mutexattr_destroy");
|
||||
free(pmutex);
|
||||
|
||||
@@ -524,6 +524,7 @@ void epicsThreadGetName(epicsThreadId pthreadInfo, char *name, size_t size)
|
||||
void epicsThreadShowAll(unsigned int level)
|
||||
{
|
||||
epicsThreadOSD *pthreadInfo;
|
||||
int status;
|
||||
|
||||
if(!epicsThreadInitCalled) epicsThreadInit();
|
||||
epicsThreadShow(0,level);
|
||||
|
||||
Reference in New Issue
Block a user