Mercurial > hg > nginx-quic
diff src/event/ngx_event.c @ 370:54f76b0b8dca
nginx-0.0.7-2004-06-27-22:01:57 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 27 Jun 2004 18:01:57 +0000 |
parents | ceec87d1c2b3 |
children | 744ccb59062d |
line wrap: on
line diff
--- a/src/event/ngx_event.c +++ b/src/event/ngx_event.c @@ -265,6 +265,9 @@ static ngx_int_t ngx_event_process_init( for (i = 0; i < cycle->connection_n; i++) { c[i].fd = (ngx_socket_t) -1; c[i].data = NULL; +#if (NGX_THREADS) + c[i].lock = 0; +#endif } cycle->read_events = ngx_alloc(sizeof(ngx_event_t) * ecf->connections,