test Darwin 8 atomic(3)

This commit is contained in:
Igor Sysoev 2006-12-22 12:54:08 +00:00
parent 28abaf70ff
commit ea2f6af9d0
2 changed files with 13 additions and 3 deletions

View file

@ -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>