Re: Special case of epoll sleep

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

 



On 17.11.21 11:25, Martin Navne wrote:
Hi!

We've noticed that our endpoint worker threads end up sleeping a lot while using epoll to handle socket events in our application.

Do anyone remember why this "temporary" fix was added?:
https://github.com/pjsip/pjproject/commit/09413ca1df78ba19a40db23d1af899da4141885f

Hi,

I assume to prevent busy waiting in case epoll is called immediately after again and no descriptors have been set.

Regards,
Andreas

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list -- pjsip@xxxxxxxxxxxxxxx
To unsubscribe send an email to pjsip-leave@xxxxxxxxxxxxxxx




[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