comparison src/http/ngx_http_busy_lock.h @ 272:d4e65d74db9f

nginx-0.0.2-2004-03-01-00:03:02 import
author Igor Sysoev <igor@sysoev.ru>
date Sun, 29 Feb 2004 21:03:02 +0000
parents a8ff48d26cca
children da8c5707af39
comparison
equal deleted inserted replaced
271:e16dfb9b9afa 272:d4e65d74db9f
7 #include <ngx_event.h> 7 #include <ngx_event.h>
8 #include <ngx_http.h> 8 #include <ngx_http.h>
9 9
10 10
11 typedef struct { 11 typedef struct {
12 u_char *md5_mask; 12 u_char *md5_mask;
13 char *md5; 13 char *md5;
14 int cachable; 14 int cachable;
15 15
16 int busy; 16 int busy;
17 int max_busy; 17 int max_busy;
18 18
19 int waiting; 19 int waiting;
20 int max_waiting; 20 int max_waiting;
21 21
22 time_t timeout; 22 time_t timeout;
23 23
24 /* ngx_mutex_t mutex; */ 24 ngx_event_mutex_t *mutex;
25
26 } ngx_http_busy_lock_t; 25 } ngx_http_busy_lock_t;
27 26
28 27
29 typedef struct { 28 typedef struct {
30 time_t time; 29 time_t time;