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

2022-01-19 Thread mayamatakeshi
Thanks. On Thu, Jan 20, 2022 at 11:21 AM Alex Balashov 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 > wrote: > >  > Hi, it seems execution of usleep eventually reaches this code: >

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

2022-01-19 Thread Alex Balashov
Yes, it blocks the process. — Sent from mobile, with due apologies for brevity and errors. > On Jan 19, 2022, at 9:15 PM, mayamatakeshi 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

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

2022-01-19 Thread mayamatakeshi
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?