comparison src/event/modules/ngx_iocp_module.c @ 389:537de4dca8ca

nginx-0.0.7-2004-07-13-21:59:12 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 13 Jul 2004 17:59:12 +0000
parents 02a511569afb
children da8c5707af39
comparison
equal deleted inserted replaced
388:80e72c428b39 389:537de4dca8ca
196 196
197 ngx_log_debug4(NGX_LOG_DEBUG_EVENT, cycle->log, 0, 197 ngx_log_debug4(NGX_LOG_DEBUG_EVENT, cycle->log, 0,
198 "iocp: %d b:%d k:%d ov:" PTR_FMT, rc, bytes, key, ovlp); 198 "iocp: %d b:%d k:%d ov:" PTR_FMT, rc, bytes, key, ovlp);
199 199
200 delta = ngx_elapsed_msec; 200 delta = ngx_elapsed_msec;
201 ngx_elapsed_msec = tv.tv_sec * 1000 + tv.tv_usec / 1000 - ngx_start_msec; 201 ngx_elapsed_msec = (ngx_epoch_msec_t) tv.tv_sec * 1000
202 + tv.tv_usec / 1000 - ngx_start_msec;
202 203
203 if (err) { 204 if (err) {
204 if (ovlp == NULL) { 205 if (ovlp == NULL) {
205 if (err != WAIT_TIMEOUT) { 206 if (err != WAIT_TIMEOUT) {
206 ngx_log_error(NGX_LOG_ALERT, cycle->log, err, 207 ngx_log_error(NGX_LOG_ALERT, cycle->log, err,