summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_cache.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-02-23 20:57:12 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-02-23 20:57:12 +0000
commitb54698b5798b7f1a54226274347ce1faee5a92a4 (patch)
tree4708e97a3ed7ae2fc5cc56b02a5f606dc0522707 /src/http/ngx_http_cache.h
parent0ee5d3c106f98c06dbad8b61f85a7d0c8e65f970 (diff)
downloadnginx-b54698b5798b7f1a54226274347ce1faee5a92a4.tar.gz
nginx-b54698b5798b7f1a54226274347ce1faee5a92a4.tar.bz2
nginx-0.0.2-2004-02-23-23:57:12 import
Diffstat (limited to 'src/http/ngx_http_cache.h')
-rw-r--r--src/http/ngx_http_cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http/ngx_http_cache.h b/src/http/ngx_http_cache.h
index 8013ee3ac..823f74d87 100644
--- a/src/http/ngx_http_cache.h
+++ b/src/http/ngx_http_cache.h
@@ -61,6 +61,9 @@ typedef struct {
size_t nelts;
time_t life;
time_t update;
+#if (NGX_THREADS)
+ ngx_mutex_t mutex;
+#endif
ngx_pool_t *pool;
} ngx_http_cache_hash_t;