diff src/event/ngx_event_busy_lock.c @ 297:ee394e997c77

nginx-0.0.3-2004-03-29-21:43:58 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 29 Mar 2004 17:43:58 +0000
parents e91499541410
children af4c6b45a687
line wrap: on
line diff
--- a/src/event/ngx_event_busy_lock.c
+++ b/src/event/ngx_event_busy_lock.c
@@ -12,9 +12,10 @@ static void ngx_event_busy_lock_posted_h
 
 /*
  * NGX_OK:     the busy lock is held
- * NGX_BUSY:   there are many the busy locks or many the waiting locks
  * NGX_AGAIN:  the all busy locks are held but we will wait the specified time
- * NGX_ERROR:  there was error while the mutex locking
+ * NGX_BUSY:   ctx->timer == 0: there are many the busy locks
+ *             ctx->timer != 0: there are many the waiting locks
+ * NGX_ERROR:  an error occured while the mutex locking
  */
 
 ngx_int_t ngx_event_busy_lock(ngx_event_busy_lock_t *bl,