summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_shmtx.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2012-07-03Fixed typo in a function name.Ruslan Ermilov1-1/+1
2012-01-18Copyright updated.Maxim Konovalov1-0/+1
2011-11-23Added shmtx interface to forcibly unlock mutexes.Maxim Dounin1-1/+12
It is currently used from master process on abnormal worker termination to unlock accept mutex (unlocking of accept mutex was broken in 1.0.2). It is expected to be used in the future to unlock other mutexes as well. Shared mutex code was rewritten to make this possible in a safe way, i.e. with a check if lock was actually held by the exited process. We again use pid to lock mutex, and use separate atomic variable for a count of processes waiting in sem_wait().
2011-05-10use POSIX semaphores in shmtx instead of sched_yield()Igor Sysoev1-80/+8
number of spinlock spins are increased twice
2009-03-13compatibility with Tru64 UNIX: fcntl(F_SETLK, F_WRLCK) returns EINVAL if busyIgor Sysoev1-3/+11
2007-02-14fix building on platforms with non-supported atomic operationsIgor Sysoev1-0/+2
2007-01-11optimize inlined code for gccIgor Sysoev1-5/+1
2006-11-20slab allocator in shared memoryIgor Sysoev1-12/+4
2006-02-08nginx-0.3.27-RELEASE importrelease-0.3.27Igor Sysoev1-0/+111
*) Change: the "variables_hash_max_size" and "variables_hash_bucket_size" directives. *) Feature: the $body_bytes_sent variable can be used not only in the "log_format" directive. *) Feature: the $ssl_protocol and $ssl_cipher variables. *) Feature: the cache line size detection for widespread CPUs at start time. *) Feature: now the "accept_mutex" directive is supported using fcntl(2) on platforms different from i386, amd64, sparc64, and ppc. *) Feature: the "lock_file" directive and the --with-lock-path=PATH autoconfiguration directive. *) Bugfix: if the HTTPS protocol was used in the "proxy_pass" directive then the requests with the body was not transferred.