Mercurial > hg > nginx-vendor-0-8
annotate src/os/unix/ngx_sunpro_amd64.il @ 118:644a7935144b NGINX_0_3_6
nginx 0.3.6
*) Change: now the IMAP/POP3 proxy do not send the empty login to
authorization server.
*) Feature: the "log_format" supports the variables in the $name form.
*) Bugfix: if at least in one server was no the "listen" directive,
then nginx did not listen on the 80 port; bug appeared in 0.3.3.
*) Bugfix: if the URI part is omitted in "proxy_pass" directive, the
the 80 port was always used.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 24 Oct 2005 00:00:00 +0400 |
parents | dad2fe8ecf08 |
children | 95183808f549 |
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 |