comparison src/event/ngx_event_timer.c @ 640:eb208e0cf44d NGINX_1_1_4

nginx 1.1.4 *) Feature: the ngx_http_upstream_keepalive module. *) Feature: the "proxy_http_version" directive. *) Feature: the "fastcgi_keep_conn" directive. *) Feature: the "worker_aio_requests" directive. *) Bugfix: if nginx was built --with-file-aio it could not be run on Linux kernel which did not support AIO. *) Bugfix: in Linux AIO error processing. Thanks to Hagai Avrahami. *) Bugfix: reduced memory consumption for long-lived requests. *) Bugfix: the module ngx_http_mp4_module did not support 64-bit MP4 "co64" atom.
author Igor Sysoev <http://sysoev.ru>
date Tue, 20 Sep 2011 00:00:00 +0400
parents b743d290eb3b
children d0f7a625f27c
comparison
equal deleted inserted replaced
639:b516b4e38bc9 640:eb208e0cf44d
101 #if (NGX_THREADS) 101 #if (NGX_THREADS)
102 102
103 if (ngx_threaded && ngx_trylock(ev->lock) == 0) { 103 if (ngx_threaded && ngx_trylock(ev->lock) == 0) {
104 104
105 /* 105 /*
106 * We can not change the timer of the event that is been 106 * We cannot change the timer of the event that is being
107 * handling by another thread. And we can not easy walk 107 * handled by another thread. And we cannot easy walk
108 * the rbtree to find a next expired timer so we exit the loop. 108 * the rbtree to find next expired timer so we exit the loop.
109 * However it should be rare case when the event that is 109 * However, it should be a rare case when the event that is
110 * been handling has expired timer. 110 * being handled has an expired timer.
111 */ 111 */
112 112
113 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, ev->log, 0, 113 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, ev->log, 0,
114 "event %p is busy in expire timers", ev); 114 "event %p is busy in expire timers", ev);
115 break; 115 break;