[SR-Users] Microseconds not milliseconds in cfgutils usleep

David K kamailio.org at spam.lublink.net
Wed Jun 5 17:42:04 CEST 2013


Hello,

According to this page :

http://kamailio.org/docs/modules/stable/modules/cfgutils.html#idp15252400

usleep will sleep for the number of milli-seconds specified.

I am familiar with Linux's usleep which accepts milliseconds and 
therefore had a look at the code in Kamailio, it looks to me that your 
usleep accepts micro-seconds ( 1/1000000 of a second ) and not milli 
seconds.

Can anyone confirm this? If so, maybe update the doc.

Thanks,

David



More information about the sr-users mailing list