projects
/
lcr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
86dda40
)
Since this banch only is for debugging the chan_lcr deadlock problem, i will commit...
author
Andreas Eversberg
<jolly@eversberg.eu>
Thu, 8 Jul 2010 07:47:08 +0000
(09:47 +0200)
committer
Andreas Eversberg
<jolly@eversberg.eu>
Thu, 8 Jul 2010 07:47:08 +0000
(09:47 +0200)
chan_lcr.c
patch
|
blob
|
history
diff --git
a/chan_lcr.c
b/chan_lcr.c
index
53c814f
..
88f6670
100644
(file)
--- a/
chan_lcr.c
+++ b/
chan_lcr.c
@@
-1696,10
+1696,10
@@
again:
lock_debug("A1+");
if (ast_channel_trylock(ast)) {
lock_debug("<trylock failed>");
lock_debug("A1+");
if (ast_channel_trylock(ast)) {
lock_debug("<trylock failed>");
- ast_mutex_unlock(&
log
_lock);
+ ast_mutex_unlock(&
chan
_lock);
usleep(1000);
lock_debug("A1++");
usleep(1000);
lock_debug("A1++");
- ast_mutex_lock(&
log
_lock);
+ ast_mutex_lock(&
chan
_lock);
lock_debug("A1+-");
goto again;
}
lock_debug("A1+-");
goto again;
}