safe to execute long-running code in timer callback?

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

 



Is it safe to run code that may take a long time (like a DNS lookup) inside a timer callback (pj_timer_heap_callback)?

I'm using worker threads in a pjsua app.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111202/4a4fe31f/attachment.html>


[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