diff options
Diffstat (limited to 'src/event/ngx_event_busy_lock.c')
-rw-r--r-- | src/event/ngx_event_busy_lock.c | 5 |
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, |