summaryrefslogtreecommitdiffhomepage
path: root/src/event
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-03-29 17:43:58 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-03-29 17:43:58 +0000
commit11dbe97ca401221313dc233aa2d6f67dfcaef1a7 (patch)
treefcd53429592c68f6fdf8d3ad4b0c151b9ebd5ff3 /src/event
parent14f02ed0dde2ee19da75cd836daf76505d7f2e9c (diff)
downloadnginx-11dbe97ca401221313dc233aa2d6f67dfcaef1a7.tar.gz
nginx-11dbe97ca401221313dc233aa2d6f67dfcaef1a7.tar.bz2
nginx-0.0.3-2004-03-29-21:43:58 import
Diffstat (limited to 'src/event')
-rw-r--r--src/event/ngx_event_busy_lock.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/event/ngx_event_busy_lock.c b/src/event/ngx_event_busy_lock.c
index f2244264d..5a7357c5e 100644
--- 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_handler(ngx_event_t *ev);
/*
* 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,