Mercurial > hg > nginx-vendor-1-0
annotate src/os/unix/ngx_sunpro_amd64.il @ 532:f7ec98e3caeb NGINX_0_8_18
nginx 0.8.18
*) Feature: the "read_ahead" directive.
*) Feature: now several "perl_modules" directive may be used.
*) Feature: the "limit_req_log_level" and "limit_conn_log_level"
directives.
*) Bugfix: now "limit_req" directive conforms to the leaky bucket
algorithm.
Thanks to Maxim Dounin.
*) Bugfix: nginx did not work on Linux/sparc.
Thanks to Marcus Ramberg.
*) Bugfix: nginx sent '\0' in a "Location" response header line on
MKCOL request.
Thanks to Xie Zhenye.
*) Bugfix: zero status code was logged instead of 499 status code; the
bug had appeared in 0.8.11.
*) Bugfix: socket leak; the bug had appeared in 0.8.11.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 06 Oct 2009 00:00:00 +0400 |
parents | 95183808f549 |
children | be4f34123024 |
rev | line source |
---|---|
110 | 1 / |
2 / Copyright (C) Igor Sysoev | |
3 / | |
4 | |
5 / ngx_atomic_uint_t ngx_atomic_cmp_set(ngx_atomic_t *lock, | |
6 / ngx_atomic_uint_t old, ngx_atomic_uint_t set); | |
7 / | |
8 / the arguments are passed in %rdi, %rsi, %rdx | |
9 / the result is returned in the %rax | |
10 | |
11 .inline ngx_atomic_cmp_set,0 | |
12 movq %rsi, %rax | |
13 lock | |
14 cmpxchgq %rdx, (%rdi) | |
15 setz %al | |
16 movzbq %al, %rax | |
17 .end | |
18 | |
19 | |
20 / ngx_atomic_int_t ngx_atomic_fetch_add(ngx_atomic_t *value, | |
21 / ngx_atomic_int_t add); | |
22 / | |
23 / the arguments are passed in %rdi, %rsi | |
24 / the result is returned in the %rax | |
25 | |
26 .inline ngx_atomic_fetch_add,0 | |
27 movq %rsi, %rax | |
28 lock | |
29 xaddq %rax, (%rdi) | |
30 .end | |
320 | 31 |
32 | |
33 / ngx_cpu_pause() | |
34 | |
35 .inline ngx_cpu_pause,0 | |
36 pause | |
37 .end |