mirror of
https://github.com/nginx/nginx.git
synced 2026-08-27 04:07:18 +00:00
test Darwin 8 atomic(3)
This commit is contained in:
parent
28abaf70ff
commit
ea2f6af9d0
2 changed files with 13 additions and 3 deletions
|
|
@ -12,11 +12,11 @@
|
|||
#include <ngx_core.h>
|
||||
|
||||
|
||||
#if (NGX_DARWIN)
|
||||
#if (NGX_DARWIN_ATOMIC)
|
||||
|
||||
/*
|
||||
* use MacOSX atomic(3) and barrier(3) operations
|
||||
* optimized at run time for UP and SMP
|
||||
* use Darwin 8 atomic(3) and barrier(3) operations
|
||||
* optimized at run-time for UP and SMP
|
||||
*/
|
||||
|
||||
#include <libkern/OSAtomic.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue