Mercurial > hg > nginx-quic
comparison src/core/ngx_times.c @ 433:9a97dcdd2421
nginx-0.0.11-2004-09-21-19:47:05 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 21 Sep 2004 15:47:05 +0000 |
parents | 8ac40cae79f0 |
children | da8c5707af39 |
comparison
equal
deleted
inserted
replaced
432:11362a3e3911 | 433:9a97dcdd2421 |
---|---|
77 | 77 |
78 ngx_cached_err_log_time.len = sizeof("1970/09/28 12:00:00") - 1; | 78 ngx_cached_err_log_time.len = sizeof("1970/09/28 12:00:00") - 1; |
79 ngx_cached_http_time.len = sizeof("Mon, 28 Sep 1970 06:00:00 GMT") - 1; | 79 ngx_cached_http_time.len = sizeof("Mon, 28 Sep 1970 06:00:00 GMT") - 1; |
80 ngx_cached_http_log_time.len = sizeof("28/Sep/1970:12:00:00 +0600") - 1; | 80 ngx_cached_http_log_time.len = sizeof("28/Sep/1970:12:00:00 +0600") - 1; |
81 | 81 |
82 #if (TIME_T_SIZE > SIG_ATOMIC_T_SIZE) | 82 #if (NGX_THREADS && (TIME_T_SIZE > SIG_ATOMIC_T_SIZE)) |
83 ngx_cached_time = &cached_time[0]; | 83 ngx_cached_time = &cached_time[0]; |
84 #endif | 84 #endif |
85 | 85 |
86 ngx_gettimeofday(&tv); | 86 ngx_gettimeofday(&tv); |
87 | 87 |
130 slot = 0; | 130 slot = 0; |
131 } else { | 131 } else { |
132 slot++; | 132 slot++; |
133 } | 133 } |
134 | 134 |
135 #if (TIME_T_SIZE > SIG_ATOMIC_T_SIZE) | 135 #if (NGX_THREADS && (TIME_T_SIZE > SIG_ATOMIC_T_SIZE)) |
136 ngx_cached_time = &cached_time[slot]; | 136 ngx_cached_time = &cached_time[slot]; |
137 #endif | 137 #endif |
138 | 138 |
139 #endif | 139 #endif |
140 | 140 |