[SR-Users] Does cfgutils usleep block the process?

Alex Balashov abalashov at evaristesys.com
Thu Jan 20 03:19:37 CET 2022


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 at 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 at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the sender!
> Edit mailing list options or unsubscribe:
>  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220119/281315d4/attachment.htm>


More information about the sr-users mailing list