From f75916e7be8f03c75351d361b2e97506ee30a72c Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Tue, 6 Nov 2007 19:09:06 +0000 Subject: [PATCH] We went to the trouble of creating a method of tracking failed trylocks, then never turned it on (oops). git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@89045 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/lock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asterisk/lock.h b/include/asterisk/lock.h index b9d7d06ec2..8d4e5c8f95 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;