comparison src/core/ngx_cycle.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 a4f264c43173
children ab353d7dc182
comparison
equal deleted inserted replaced
3473:0299cf5856fc 3474:d4c4cfdffe30
61 /* force localtime update with a new timezone */ 61 /* force localtime update with a new timezone */
62 62
63 tp = ngx_timeofday(); 63 tp = ngx_timeofday();
64 tp->sec = 0; 64 tp->sec = 0;
65 65
66 ngx_time_update(0, 0); 66 ngx_time_update(0);
67 67
68 68
69 log = old_cycle->log; 69 log = old_cycle->log;
70 70
71 pool = ngx_create_pool(NGX_CYCLE_POOL_SIZE, log); 71 pool = ngx_create_pool(NGX_CYCLE_POOL_SIZE, log);