Partially clean up some mutex diagnostic stuff.

This commit is contained in:
Mike Brady
2022-05-18 19:37:18 +01:00
parent 016354a970
commit 2dc6af2daf
3 changed files with 13 additions and 48 deletions
+2 -2
View File
@@ -423,8 +423,8 @@ extern pthread_mutex_t the_conn_lock;
pthread_mutex_unlock(&the_conn_lock);
// wait for the specified time in microseconds -- it checks every 20 milliseconds
int sps_pthread_mutex_timedlock(pthread_mutex_t *mutex, useconds_t dally_time,
const char *debugmessage, int debuglevel);
// int sps_pthread_mutex_timedlock(pthread_mutex_t *mutex, useconds_t dally_time,
// const char *debugmessage, int debuglevel);
// wait for the specified time, checking every 20 milliseconds, and block if it can't acquire the
// lock
int _debug_mutex_lock(pthread_mutex_t *mutex, useconds_t dally_time, const char *mutexName,