summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_busy_lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_busy_lock.h')
-rw-r--r--src/http/ngx_http_busy_lock.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/http/ngx_http_busy_lock.h b/src/http/ngx_http_busy_lock.h
index e600b0180..dd7ab6fdc 100644
--- a/src/http/ngx_http_busy_lock.h
+++ b/src/http/ngx_http_busy_lock.h
@@ -9,20 +9,19 @@
typedef struct {
- u_char *md5_mask;
- char *md5;
- int cachable;
+ u_char *md5_mask;
+ char *md5;
+ int cachable;
- int busy;
- int max_busy;
+ int busy;
+ int max_busy;
- int waiting;
- int max_waiting;
+ int waiting;
+ int max_waiting;
- time_t timeout;
-
- /* ngx_mutex_t mutex; */
+ time_t timeout;
+ ngx_event_mutex_t *mutex;
} ngx_http_busy_lock_t;