From b54698b5798b7f1a54226274347ce1faee5a92a4 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 23 Feb 2004 20:57:12 +0000 Subject: nginx-0.0.2-2004-02-23-23:57:12 import --- src/http/ngx_http_cache.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/http/ngx_http_cache.h') 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; -- cgit