[pjsip] Does pj_timer_heap_poll() thread safe?

Nanang Izzuddin nanang at pjsip.org
Tue Dec 22 10:48:15 EST 2009


AFAIK, if lock object is specified, i.e: via pj_timer_heap_set_lock(),
it will be thread safe.


On Sat, Dec 19, 2009 at 9:15 PM, bo shi <cnshibo at gmail.com> wrote:
> Hello,
>    I am new to PJLIB. Could you please tell me if I can add a timer
> to a timer heap when another thread polling the heap. If not, how can
> I add a timer to polling heap.
> 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

More information about the pjsip mailing list