diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-11-05 20:03:41 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-11-05 20:03:41 +0300 |
commit | e8732b06b94ea5f8a25fa3e71cece7d93f5ac0b8 (patch) | |
tree | 2164e718d78644f6593c228b7b7f2e73d0032ddf /src/http/ngx_http_busy_lock.h | |
parent | 9cc1acef18220cfc3b66d0a761f1f7c39e0b5c29 (diff) |
nginx-0.0.1-2003-11-05-20:03:41 import
Diffstat (limited to 'src/http/ngx_http_busy_lock.h')
-rw-r--r-- | src/http/ngx_http_busy_lock.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/src/http/ngx_http_busy_lock.h b/src/http/ngx_http_busy_lock.h index 40aa3d2b3..1ee95c93d 100644 --- a/src/http/ngx_http_busy_lock.h +++ b/src/http/ngx_http_busy_lock.h @@ -8,22 +8,24 @@ typedef struct { - char *busy; - int busy_n; + u_char *busy_mask; + char *busy; + int busy_n; - int waiting_n; - int max_waiting; + int waiting_n; + int max_waiting; - int conn_n; - int max_conn; + int conn_n; + int max_conn; - int timeout; + time_t timeout; /* ngx_mutex_t mutex; */ } ngx_http_busy_lock_t; +int ngx_http_busy_lock(ngx_http_busy_lock_t *bl, u_char *md5); char *ngx_http_set_busy_lock_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); |