Hi Ilya; Debug your program till the first usage of pj functions and use the magical code of thread registration.. It is obvious there is a thread using pj functions may be you are not aware ... Regards Mg On Mon, Apr 27, 2009 at 1:13 PM, Ilya Kalinin <ilyak at skuku.com> wrote: > As I wrote before, I always use similar code. It worked fine in version > 1.0 rc 2, but doesn?t work in 1.0.1 > > > > BR, > > Ilya > ------------------------------ > > *From:* pjsip-bounces at lists.pjsip.org [mailto: > pjsip-bounces at lists.pjsip.org] *On Behalf Of *Ponik Supapupa > *Sent:* Monday, April 27, 2009 9:57 AM > *To:* pjsip list > *Subject:* Re: [pjsip] unregister external thread > > > > > > > > I had the similar problem time ago, but it truly said me a truth :) - i had > external thread using (no pj_thread). Solution was to register this thread, > something like: > > > > //register this thread in the pj space > pj_thread_desc desc; > pj_thread_t* this_thread; > pj_thread_register("ExampleThread", desc, &this_thread); > > in the thread function i use (for ex. void ExampleThread();) > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090427/04602dea/attachment.html>