Mercurial > hg > nginx
diff src/core/ngx_spinlock.c @ 493:975f62e77f02 release-0.1.21
nginx-0.1.21-RELEASE import
*) 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.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 22 Feb 2005 14:40:13 +0000 |
parents | 42d11f017717 |
children | 9c2f3ed7a247 |
line wrap: on
line diff
--- a/src/core/ngx_spinlock.c Thu Feb 17 11:59:36 2005 +0000 +++ b/src/core/ngx_spinlock.c Tue Feb 22 14:40:13 2005 +0000 @@ -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) {