Mercurial > hg > nginx-vendor-current
annotate src/os/unix/ngx_sunpro_sparc64.il @ 588:b6a5942a4e6a NGINX_0_8_46
nginx 0.8.46
*) Change: now the "proxy_no_cache", "fastcgi_no_cache",
"uwsgi_no_cache", and "scgi_no_cache" directives affect on a cached
response saving only.
*) Feature: the "proxy_cache_bypass", "fastcgi_cache_bypass",
"uwsgi_cache_bypass", and "scgi_cache_bypass" directives.
*) Bugfix: nginx did not free memory in cache keys zones if there was
an error during working with backend: the memory was freed only
after inactivity time or on memory low condition.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 19 Jul 2010 00:00:00 +0400 |
parents | df17fbafec8f |
children | d0f7a625f27c |
rev | line source |
---|---|
110 | 1 / |
2 / Copyright (C) Igor Sysoev | |
3 / | |
4 | |
5 | |
6 / "casa [%o2] 0x80, %o1, %o0" and | |
7 / "casxa [%o2] 0x80, %o1, %o0" do the following: | |
126 | 8 / |
110 | 9 / if ([%o2] == %o1) { |
10 / swap(%o0, [%o2]); | |
11 / } else { | |
12 / %o0 = [%o2]; | |
13 / } | |
14 | |
15 | |
16 / ngx_atomic_uint_t ngx_casa(ngx_atomic_uint_t set, ngx_atomic_uint_t old, | |
17 / ngx_atomic_t *lock); | |
18 / | |
19 / the arguments are passed in the %o0, %o1, %o2 | |
20 / the result is returned in the %o0 | |
21 | |
22 .inline ngx_casa,0 | |
23 casa [%o2] 0x80, %o1, %o0 | |
24 .end | |
25 | |
26 | |
27 / ngx_atomic_uint_t ngx_casxa(ngx_atomic_uint_t set, ngx_atomic_uint_t old, | |
28 / ngx_atomic_t *lock); | |
29 / | |
30 / the arguments are passed in the %o0, %o1, %o2 | |
31 / the result is returned in the %o0 | |
32 | |
33 .inline ngx_casxa,0 | |
34 casxa [%o2] 0x80, %o1, %o0 | |
35 .end |