Re: troubleshooting unresponsive pyro processes
Tom Smith <[email protected]>
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <CACkP891=H1zNqTWMu68OHp=DvW=S1MPt_OwiPmAi_43X4n7PNw@mail.gmail.com> |
On Fri, Jan 18, 2013 at 12:05 PM, Irmen de Jong <[email protected]> wrote: > On 18-1-2013 17:48, Tom Smith wrote: > > I have isolated my thread problem, and I am happy to report it did not > involve Pyro at > > all. These concurrency issues are a bear to troubleshoot. > > > > Thank you for your suggestions - and for the awesome software. > > > > Thanks Tom! Happy Pyro-ing! > > Is it worthwhile to shed some light on what caused your problem and how > you fixed it? > For future reference :-) > Sure! =;^) For anyone using PJSIP/PJSUA: don't try to perform library calls in your callbacks. (For instance, when I got a callback that indicated incoming call, I tried to auto-answer the call in the callback.) When I moved those library operations to another thread, my deadlocks went away. So the deadlock potential was there before I added the Pyro code, but the luck of the draw kept me from seeing the deadlock in those cases. > > Regards > Irmen de Jong > > > > ------------------------------------------------------------------------------ > Master HTML5, CSS3, ASP.NET > > , MVC, AJAX, Knockout.js, Web API and > much more. Get web development skills now with LearnDevNow - > 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. > SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122812 > > > _______________________________________________ > Pyro-core mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/pyro-core > > > ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ Pyro-core mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyro-core