Mercurial > hg > nginx
comparison src/os/unix/ngx_darwin_config.h @ 3909:0daede16d68b
use POSIX semaphores in shmtx instead of sched_yield()
number of spinlock spins are increased twice
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 10 May 2011 11:39:13 +0000 |
parents | 34389dfc2061 |
children | a3870ea96ccd |
comparison
equal
deleted
inserted
replaced
3908:8258eb4c9d25 | 3909:0daede16d68b |
---|---|
54 | 54 |
55 | 55 |
56 #include <ngx_auto_config.h> | 56 #include <ngx_auto_config.h> |
57 | 57 |
58 | 58 |
59 #if (NGX_HAVE_POSIX_SEM) | |
60 #include <semaphore.h> | |
61 #endif | |
62 | |
63 | |
59 #if (NGX_HAVE_POLL) | 64 #if (NGX_HAVE_POLL) |
60 #include <poll.h> | 65 #include <poll.h> |
61 #endif | 66 #endif |
62 | 67 |
63 | 68 |