Mercurial > hg > nginx
diff src/os/unix/ngx_process_cycle.c @ 3475:ab353d7dc182
*) introduce ngx_time_sigsafe_update() to update the error log time only
*) change ngx_time_update() interface
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 25 Mar 2010 09:10:10 +0000 |
parents | d4c4cfdffe30 |
children | 89002ac695e5 |
line wrap: on
line diff
--- a/src/os/unix/ngx_process_cycle.c Sat Mar 13 18:08:07 2010 +0000 +++ b/src/os/unix/ngx_process_cycle.c Thu Mar 25 09:10:10 2010 +0000 @@ -168,7 +168,7 @@ sigsuspend(&set); - ngx_time_update(0); + ngx_time_update(); ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, "wake up, sigio %i", sigio); @@ -1342,7 +1342,7 @@ next = (n <= next) ? n : next; - ngx_time_update(0); + ngx_time_update(); } } @@ -1372,7 +1372,7 @@ if (path[i]->loader) { path[i]->loader(path[i]->data); - ngx_time_update(0); + ngx_time_update(); } }