diff options
author | Igor Sysoev <igor@sysoev.ru> | 2005-02-22 14:40:13 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2005-02-22 14:40:13 +0000 |
commit | d039a2e193c9172e4f415b9304222e81804a69d0 (patch) | |
tree | 4571d4da7950e9464e788a4d68dc5111167de52c /src/core/ngx_spinlock.c | |
parent | 174db74f2309e28c0e2b54e89b9e08afff187c7c (diff) | |
download | nginx-d039a2e193c9172e4f415b9304222e81804a69d0.tar.gz nginx-d039a2e193c9172e4f415b9304222e81804a69d0.zip |
nginx-0.1.21-RELEASE importrelease-0.1.21
*) Bugfix: the ngx_http_stub_status_module showed incorrect statistics
if "rtsig" method was used or if several worker process ran on SMP.
*) Bugfix: nginx could not be built by the icc compiler on Linux or if
the zlib-1.2.x library was building from sources.
*) Bugfix: nginx could not be built on NetBSD 2.0.
Diffstat (limited to 'src/core/ngx_spinlock.c')
-rw-r--r-- | src/core/ngx_spinlock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ngx_spinlock.c b/src/core/ngx_spinlock.c index dfa7da411..00e7fca7d 100644 --- a/src/core/ngx_spinlock.c +++ b/src/core/ngx_spinlock.c @@ -8,6 +8,10 @@ #include <ngx_core.h> +/* + * TODO: the P4 optimized assembler version with the "pause" operation + */ + void ngx_spinlock(ngx_atomic_t *lock, ngx_uint_t spin) { |