summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-03-27 00:02:49 +0000
committerJeremy Allison <jra@samba.org>2002-03-27 00:02:49 +0000
commit94c52a00525c55db83d48c0ef76c3eb12de0af2b (patch)
tree1e0f6fcd224daa74f558d38528abd69a0e5c7716 /source3/lib
parent57b81e1a36559afa6a3a1bdef9c700926f4573bd (diff)
downloadsamba-94c52a00525c55db83d48c0ef76c3eb12de0af2b.tar.gz
samba-94c52a00525c55db83d48c0ef76c3eb12de0af2b.tar.bz2
samba-94c52a00525c55db83d48c0ef76c3eb12de0af2b.zip
Moved debug messages for grabbing/releasing mutex.
Jeremy. (This used to be commit e144c174eafc18f236c848b8f3a2c6382796f5a9)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/messages.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/messages.c b/source3/lib/messages.c
index 7d0da4b158..8602c2f32d 100644
--- a/source3/lib/messages.c
+++ b/source3/lib/messages.c
@@ -508,6 +508,9 @@ BOOL message_named_mutex(char *name, unsigned int timeout)
return False;
}
+ if (ret == 0)
+ DEBUG(10,("message_named_mutex: got mutex for %s\n", name ));
+
return (ret == 0);
}
@@ -525,6 +528,7 @@ void message_named_mutex_release(char *name)
key.dsize = strlen(name)+1;
tdb_chainunlock(tdb, key);
+ DEBUG(10,("message_named_mutex: released mutex for %s\n", name ));
}
/** @} **/