@Sarvan: I think you should read the source code about thread for more information When you target Windows, it will use Windows Thread API under the hood, the same is for Linux, ... (Look more into pjlib) Also notice 1. Thread local storage 2. Lock, event (something like PJSUA_LOCK, ...) 3. How many thread does pjsip create? (1 for pjsip endpoint, 1 for pjmedia endpoint) 4. How many thread does the sound device create ? On Thu, Feb 13, 2014 at 11:21 AM, Sarvan D <d.saravanan.mca at gmail.com>wrote: > it works well. your right i guess doing some mistake. will check that. > Also im not able to understand pjsip thread management, any help? > > > On Thu, Feb 13, 2014 at 9:21 AM, Khoa Pham <onmyway133 at gmail.com> wrote: > >> @Sarvan does pjsua_destroy() not work ? >> >> >> On Wed, Feb 12, 2014 at 11:33 PM, Sarvan D <d.saravanan.mca at gmail.com>wrote: >> >>> 'pj_shutdown' is not destroying all. still some modules are running. how >>> do i make sure everything is destroyed? >>> >>> >>> On Wed, Feb 12, 2014 at 9:48 PM, Alicia Romero <alromor84 at gmail.com>wrote: >>> >>>> With pj_shutdown. >>>> >>>> /** >>>> * Shutdown PJLIB. >>>> */ >>>> PJ_DECL(void) pj_shutdown(void); >>>> >>>> >>>> 2014-02-12 17:11 GMT+01:00 Sarvan D <d.saravanan.mca at gmail.com>: >>>> >>>>> hi, >>>>> Im using pjsip core library, i have implement the higher level api >>>>> (like pjsua). But i dont how to destory pjsip complete i.e dont perform >>>>> anything. THanks in advance. >>>>> >>>>> _______________________________________________ >>>>> 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 >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> 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 >>>> >>>> >>> >>> _______________________________________________ >>> 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 >>> >>> >> >> >> -- >> Khoa Pham >> HCMC University of Science >> www.fantageek.com >> >> _______________________________________________ >> 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 >> >> > > _______________________________________________ > 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 > > -- Khoa Pham HCMC University of Science www.fantageek.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140214/caa04bb0/attachment-0001.html>