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 >