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
Regards
Martin
--
MARTIN NAVNE
Software developer
Direct +46(0) 72 050 40 71
Office +46(0) 40 620 02 75
Stora Varvsgatan 6A
211 19 MALMÖ
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