From: Alain Spineux Date: Wed, 1 Sep 2021 13:36:50 +0000 (+0200) Subject: tweak comment about lmgr_mutex_is_locked() X-Git-Tag: Release-11.3.2~358 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=441e92f21d6d010b7d7cb5822f4a9c8e73f187b1;p=thirdparty%2Fbacula.git tweak comment about lmgr_mutex_is_locked() --- diff --git a/bacula/src/lib/lockmgr.c b/bacula/src/lib/lockmgr.c index dca839841..4323e5226 100644 --- a/bacula/src/lib/lockmgr.c +++ b/bacula/src/lib/lockmgr.c @@ -1105,9 +1105,8 @@ int bthread_cond_timedwait_p(pthread_cond_t *cond, /* Test if this mutex is locked by the current thread * returns: - * 0 - unlocked - * 1 - locked by the current thread - * 2 - locked by an other thread + * 0 - the mutex is not locked by the current thread, and maybe not locked at all + * 1 - the mutex is locked by the current thread */ int lmgr_mutex_is_locked(void *m) {