How should I wait in main thread for Endpoint threads

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I'm new in using pjsip, I just tried to implement simple SIP server that send 200 OK to requests. I'm trying to use PJSUA2 API, I read the docs, initialized and started the Endpoint, but instead of `pj_thread_sleep(10000)` I want to wait infinity. In other words I want to join the main thread with Endpoint threads. How can I do this?

Regards,
Ali
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux