[PATCH] proposal to remove unused macro ngx_sleep()

Maxim Dounin mdounin at mdounin.ru
Fri Aug 8 15:37:31 UTC 2014


Hello!

On Thu, Aug 07, 2014 at 10:05:16AM -0400, crespin wrote:

> Hello,
> 
> ngx_sleep() macro is unused.
> 
> regards,
> 
> yves
> 
> 
> # HG changeset patch
> # User Yves Crespin<yves.crespin at e-quartz.fr>
> # Date 1407420247 -7200
> # Node ID 8120c2937062998497546a3ecb38b78bb302fe34
> # Parent  97fcc94109c0ea7b929f7fa5a8c7ee95ecf7cb5c
> remove unused ngx_sleep() macro
> 
> In win32 implementation, even for a long sleep (60s), ngx_msleep()
> is used instead of ngx_sleep().
> Implementation of |sleep()| can use |SIGALRM| and it's used in nginx.

I would rather not.
It's sometimes useful for debugging.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx mailing list