comparison src/os/unix/ngx_atomic.h @ 940:ca9fe5ae412b

test Darwin 8 atomic(3)
author Igor Sysoev <igor@sysoev.ru>
date Fri, 22 Dec 2006 12:54:08 +0000
parents 782cf4c13b8d
children 63fa39cf8bd0 b766d9c0a2be
comparison
equal deleted inserted replaced
939:782cf4c13b8d 940:ca9fe5ae412b
10 10
11 #include <ngx_config.h> 11 #include <ngx_config.h>
12 #include <ngx_core.h> 12 #include <ngx_core.h>
13 13
14 14
15 #if (NGX_DARWIN) 15 #if (NGX_DARWIN_ATOMIC)
16 16
17 /* 17 /*
18 * use MacOSX atomic(3) and barrier(3) operations 18 * use Darwin 8 atomic(3) and barrier(3) operations
19 * optimized at run time for UP and SMP 19 * optimized at run-time for UP and SMP
20 */ 20 */
21 21
22 #include <libkern/OSAtomic.h> 22 #include <libkern/OSAtomic.h>
23 23
24 /* "bool" conflicts with perl's CORE/handy.h 24 /* "bool" conflicts with perl's CORE/handy.h