Mercurial > hg > nginx-vendor-current
comparison src/event/ngx_event.c @ 624:d4da38525468 NGINX_1_0_2
nginx 1.0.2
*) Feature: now shared zones and caches use POSIX semaphores.
*) Bugfix: in the "rotate" parameter of the "image_filter" directive.
Thanks to Adam Bocim.
*) Bugfix: nginx could not be built on Solaris; the bug had appeared in
1.0.1.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 10 May 2011 00:00:00 +0400 |
parents | be4f34123024 |
children | eb208e0cf44d |
comparison
equal
deleted
inserted
replaced
623:9b9e61f1b500 | 624:d4da38525468 |
---|---|
517 } | 517 } |
518 | 518 |
519 shared = shm.addr; | 519 shared = shm.addr; |
520 | 520 |
521 ngx_accept_mutex_ptr = (ngx_atomic_t *) shared; | 521 ngx_accept_mutex_ptr = (ngx_atomic_t *) shared; |
522 ngx_accept_mutex.spin = (ngx_uint_t) -1; | |
522 | 523 |
523 if (ngx_shmtx_create(&ngx_accept_mutex, shared, cycle->lock_file.data) | 524 if (ngx_shmtx_create(&ngx_accept_mutex, shared, cycle->lock_file.data) |
524 != NGX_OK) | 525 != NGX_OK) |
525 { | 526 { |
526 return NGX_ERROR; | 527 return NGX_ERROR; |