Hi, it seems execution of usleep eventually reaches this code: https://github.com/kamailio/kamailio/blob/master/src/core/ut.h#L508 so it seems it would block the process and so it might cause delay of packet processing if many processes do this at the same time. Can someone confirm this?
Yes, it blocks the process.
— Sent from mobile, with due apologies for brevity and errors.
On Jan 19, 2022, at 9:15 PM, mayamatakeshi mayamatakeshi@gmail.com wrote:
Hi, it seems execution of usleep eventually reaches this code: https://github.com/kamailio/kamailio/blob/master/src/core/ut.h#L508 so it seems it would block the process and so it might cause delay of packet processing if many processes do this at the same time. Can someone confirm this?
Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Thanks.
On Thu, Jan 20, 2022 at 11:21 AM Alex Balashov abalashov@evaristesys.com wrote:
Yes, it blocks the process.
— Sent from mobile, with due apologies for brevity and errors.
On Jan 19, 2022, at 9:15 PM, mayamatakeshi mayamatakeshi@gmail.com wrote:
Hi, it seems execution of usleep eventually reaches this code: https://github.com/kamailio/kamailio/blob/master/src/core/ut.h#L508 so it seems it would block the process and so it might cause delay of packet processing if many processes do this at the same time. Can someone confirm this?
Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: