[asterisk-commits] rmudgett: trunk r433006 - in /trunk: ./ res/res_pjsip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Mar 17 11:11:37 CDT 2015
Author: rmudgett
Date: Tue Mar 17 11:11:36 2015
New Revision: 433006
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=433006
Log:
res_pjsip: Add reason comment.
........
Merged revisions 433005 from http://svn.asterisk.org/svn/asterisk/branches/13
Modified:
trunk/ (props changed)
trunk/res/res_pjsip.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-13-merged' - no diff available.
Modified: trunk/res/res_pjsip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_pjsip.c?view=diff&rev=433006&r1=433005&r2=433006
==============================================================================
--- trunk/res/res_pjsip.c (original)
+++ trunk/res/res_pjsip.c Tue Mar 17 11:11:36 2015
@@ -2981,6 +2981,12 @@
std->fail = std->task(std->task_data);
+ /*
+ * Once we unlock std->lock after signaling, we cannot access
+ * std again. The thread waiting within
+ * ast_sip_push_task_synchronous() is free to continue and
+ * release its local variable (std).
+ */
ast_mutex_lock(&std->lock);
std->complete = 1;
ast_cond_signal(&std->cond);
More information about the asterisk-commits
mailing list