diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-06 19:09:06 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-06 19:09:06 +0000 |
commit | cbaaaa413f4eb1317f7cd4ae1264af98b348aa62 (patch) | |
tree | 60b182870d561c07b5a3c9b9827bdf4498bdb40e /include/asterisk | |
parent | 9bb645fee52c6aa5e4b8a702d3872c32a13535eb (diff) |
We went to the trouble of creating a method of tracking failed trylocks, then never turned it on (oops).
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@89045 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/lock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h index b9d7d06ec..8d4e5c8f9 100644 --- a/include/asterisk/lock.h +++ b/include/asterisk/lock.h @@ -422,7 +422,7 @@ static inline int __ast_pthread_mutex_trylock(const char *filename, int lineno, if (t->track) ast_mark_lock_acquired(); } else if (t->track) { - ast_remove_lock_info(&t->mutex); + ast_mark_lock_failed(); } return res; |