Mercurial > hg > nginx
diff src/event/ngx_event.c @ 380:5ce6561246a5
nginx-0.0.7-2004-07-07-10:15:04 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 07 Jul 2004 06:15:04 +0000 |
parents | 41437e4fd9b4 |
children | 3f88935a02e8 |
line wrap: on
line diff
--- a/src/event/ngx_event.c +++ b/src/event/ngx_event.c @@ -150,7 +150,7 @@ ngx_event_module_t ngx_event_core_modul 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( 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( wev[i].closed = 1; #if (NGX_THREADS) wev[i].lock = &c[i].lock; + wev[i].own_lock = &c[i].lock; #endif }