Module: sems Branch: master Commit: 1339ae3b84128e63bde307c94192a6174f0b24b7 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=1339ae3b84128e63bde307c94192a6174f0b24b7
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Wed Mar 6 14:07:42 2013 +0100 app-timers: unlock before firing allows to set a new app-timer from the handler. --- core/AmAppTimer.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/core/AmAppTimer.cpp b/core/AmAppTimer.cpp index 5a71120..921c6ff 100644 --- a/core/AmAppTimer.cpp +++ b/core/AmAppTimer.cpp @@ -122,7 +122,9 @@ void _AmAppTimer::direct_app_timer_cb(direct_app_timer* t) delete t; // finally fire this timer! + direct_timers_mut.unlock(); dt->fire(); + return; } } direct_timers_mut.unlock(); _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
