projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9ea997
)
Fix lock initialization in lock debugging mode
author
Mark Spencer
<markster@digium.com>
Mon, 19 Apr 2004 21:52:39 +0000
(21:52 +0000)
committer
Mark Spencer
<markster@digium.com>
Mon, 19 Apr 2004 21:52:39 +0000
(21:52 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2711
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
include/asterisk/lock.h
patch
|
blob
|
history
diff --git
a/include/asterisk/lock.h
b/include/asterisk/lock.h
index
70a08ab
..
9542dbe
100755
(executable)
--- a/
include/asterisk/lock.h
+++ b/
include/asterisk/lock.h
@@
-33,7
+33,7
@@
/* From now on, Asterisk REQUIRES Recursive (not error checking) mutexes
and will not run without them. */
-#define AST_MUTEX_INITIALIZER PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
+#define AST_MUTEX_INITIALIZER { PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP, NULL, 0, NULL, 0 }
#define AST_MUTEX_KIND PTHREAD_MUTEX_RECURSIVE_NP
struct ast_mutex_info {