Mercurial > hg > nginx-quic
comparison src/core/ngx_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 | 8bb6ce44672a |
comparison
equal
deleted
inserted
replaced
3474:d4c4cfdffe30 | 3475:ab353d7dc182 |
---|---|
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); | 66 ngx_time_update(); |
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); |