summaryrefslogtreecommitdiffhomepage
path: root/src/event/ngx_event.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-07-07 06:15:04 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-07-07 06:15:04 +0000
commitc78c41cefcf1e1fa8005f81b7c6cc0c857bcf46f (patch)
tree167a534227a7b4203892a0bb1a493a7fd4af6279 /src/event/ngx_event.c
parent81a432a185bc61d46a4d5eb1f96773ee7b3dc6a3 (diff)
downloadnginx-c78c41cefcf1e1fa8005f81b7c6cc0c857bcf46f.tar.gz
nginx-c78c41cefcf1e1fa8005f81b7c6cc0c857bcf46f.tar.bz2
nginx-0.0.7-2004-07-07-10:15:04 import
Diffstat (limited to 'src/event/ngx_event.c')
-rw-r--r--src/event/ngx_event.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/event/ngx_event.c b/src/event/ngx_event.c
index 2690617b2..cedae60ae 100644
--- a/src/event/ngx_event.c
+++ b/src/event/ngx_event.c
@@ -150,7 +150,7 @@ ngx_event_module_t ngx_event_core_module_ctx = {
ngx_event_create_conf, /* create configuration */
ngx_event_init_conf, /* init configuration */
- { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }
+ { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL }
};
@@ -281,6 +281,7 @@ static ngx_int_t ngx_event_process_init(ngx_cycle_t *cycle)
rev[i].closed = 1;
#if (NGX_THREADS)
rev[i].lock = &c[i].lock;
+ rev[i].own_lock = &c[i].lock;
#endif
}
@@ -295,6 +296,7 @@ static ngx_int_t ngx_event_process_init(ngx_cycle_t *cycle)
wev[i].closed = 1;
#if (NGX_THREADS)
wev[i].lock = &c[i].lock;
+ wev[i].own_lock = &c[i].lock;
#endif
}