comparison src/os/win32/ngx_process.c @ 3474:d4c4cfdffe30

*) use previously cached GMT offset value to update time from a signal handler *) change ngx_time_update() interface since there are no notification methods those return time
author Igor Sysoev <igor@sysoev.ru>
date Sat, 13 Mar 2010 18:08:07 +0000
parents d82993af1da0
children ab353d7dc182
comparison
equal deleted inserted replaced
3473:0299cf5856fc 3474:d4c4cfdffe30
83 events[0] = ngx_master_process_event; 83 events[0] = ngx_master_process_event;
84 events[1] = ctx.child; 84 events[1] = ctx.child;
85 85
86 rc = WaitForMultipleObjects(2, events, 0, 5000); 86 rc = WaitForMultipleObjects(2, events, 0, 5000);
87 87
88 ngx_time_update(0, 0); 88 ngx_time_update(0);
89 89
90 ngx_log_debug1(NGX_LOG_DEBUG_CORE, cycle->log, 0, 90 ngx_log_debug1(NGX_LOG_DEBUG_CORE, cycle->log, 0,
91 "WaitForMultipleObjects: %ul", rc); 91 "WaitForMultipleObjects: %ul", rc);
92 92
93 switch (rc) { 93 switch (rc) {