comparison src/event/ngx_event_timer.c @ 4133:59b99f217c6d

Replaced "can not" with "cannot" and "could not" in a bunch of places. Fixed nearby grammar errors.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 19 Sep 2011 14:48:29 +0000
parents 4fc402c3ec73
children d620f497c50f
comparison
equal deleted inserted replaced
4132:cdc22824e22a 4133:59b99f217c6d
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;