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

mayamatakeshi mayamatakeshi at gmail.com
Thu Jan 20 04:10:45 CET 2022


Thanks.

On Thu, Jan 20, 2022 at 11:21 AM Alex Balashov <abalashov at 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 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
>
> __________________________________________________________
> 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/20220120/4b06d908/attachment.htm>


More information about the sr-users mailing list