[asterisk-commits] russell: branch russell/chan_refcount r89819 - /team/russell/chan_refcount/ch...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 27 16:26:10 CST 2007


Author: russell
Date: Tue Nov 27 16:26:09 2007
New Revision: 89819

URL: http://svn.digium.com/view/asterisk?view=rev&rev=89819
Log:
sync chan_h323 with trunk

Modified:
    team/russell/chan_refcount/channels/chan_h323.c

Modified: team/russell/chan_refcount/channels/chan_h323.c
URL: http://svn.digium.com/view/asterisk/team/russell/chan_refcount/channels/chan_h323.c?view=diff&rev=89819&r1=89818&r2=89819
==============================================================================
--- team/russell/chan_refcount/channels/chan_h323.c (original)
+++ team/russell/chan_refcount/channels/chan_h323.c Tue Nov 27 16:26:09 2007
@@ -2356,12 +2356,16 @@
 		}
 		if (!pvt->owner || !ast_channel_trylock(pvt->owner))
 			break;
+#if 1
 		ast_log(LOG_NOTICE, "Avoiding H.323 destory deadlock on %s\n", call_token);
+#ifdef DEBUG_THREADS
 		/* XXX to be completed
 		 * If we want to print more info on who is holding the lock,
 		 * implement the relevant code in lock.h and use the routines
 		 * supplied there.
 		 */
+#endif
+#endif
 		ast_mutex_unlock(&pvt->lock);
 		usleep(1);
 	}




More information about the asterisk-commits mailing list