Does pj_timer_heap_poll() thread safe?

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

 



Hi,

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

BR,
nanang


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
>



[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