Mercurial > hg > nginx
diff src/event/modules/ngx_kqueue_module.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 | d620f497c50f |
line wrap: on
line diff
--- a/src/event/modules/ngx_kqueue_module.c Sat Mar 13 18:08:07 2010 +0000 +++ b/src/event/modules/ngx_kqueue_module.c Thu Mar 25 09:10:10 2010 +0000 @@ -538,7 +538,7 @@ err = (events == -1) ? ngx_errno : 0; if (flags & NGX_UPDATE_TIME || ngx_event_timer_alarm) { - ngx_time_update(0); + ngx_time_update(); } ngx_log_debug1(NGX_LOG_DEBUG_EVENT, cycle->log, 0, @@ -589,7 +589,7 @@ #if (NGX_HAVE_TIMER_EVENT) if (event_list[i].filter == EVFILT_TIMER) { - ngx_time_update(0); + ngx_time_update(); continue; }