Searched refs:tcpathmutex (Results 1 – 1 of 1) sorted by relevance
9615 static pthread_mutex_t tcpathmutex; variable9643 if(pthread_mutex_lock(&tcpathmutex) != 0) return false; in tcpathlock()9646 if(pthread_mutex_unlock(&tcpathmutex) != 0) err = true; in tcpathlock()9655 if(pthread_mutex_lock(&tcpathmutex) != 0) return false; in tcpathunlock()9658 if(pthread_mutex_unlock(&tcpathmutex) != 0) err = true; in tcpathunlock()10074 memset(&tcpathmutex, 0, sizeof(tcpathmutex)); in tcglobalinit()10077 if(pthread_mutex_init(&tcpathmutex, NULL) != 0) tcmyfatal("mutex error"); in tcglobalinit()10086 pthread_mutex_destroy(&tcpathmutex); in tcglobaldestroy()