[svn-commits] tilghman: branch 1.4 r89045 - /branches/1.4/include/asterisk/lock.h

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Nov 6 13:09:07 CST 2007


Author: tilghman
Date: Tue Nov  6 13:09:06 2007
New Revision: 89045

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89045
Log:
We went to the trouble of creating a method of tracking failed trylocks, then never turned it on (oops).

Modified:
    branches/1.4/include/asterisk/lock.h

Modified: branches/1.4/include/asterisk/lock.h
URL: http://svn.digium.com/view/asterisk/branches/1.4/include/asterisk/lock.h?view=diff&rev=89045&r1=89044&r2=89045
==============================================================================
--- branches/1.4/include/asterisk/lock.h (original)
+++ branches/1.4/include/asterisk/lock.h Tue Nov  6 13:09:06 2007
@@ -422,7 +422,7 @@
 		if (t->track)
 			ast_mark_lock_acquired();
 	} else if (t->track) {
-			ast_remove_lock_info(&t->mutex);
+		ast_mark_lock_failed();
 	}
 
 	return res;




More information about the svn-commits mailing list