Mercurial > hg > nginx
comparison src/os/unix/ngx_posix_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 | 6060225e9261 |
children | 1b779cb69dc8 4919fb357a5d |
comparison
equal
deleted
inserted
replaced
3908:8258eb4c9d25 | 3909:0daede16d68b |
---|---|
94 | 94 |
95 | 95 |
96 #include <ngx_auto_config.h> | 96 #include <ngx_auto_config.h> |
97 | 97 |
98 | 98 |
99 #if (NGX_HAVE_POSIX_SEM) | |
100 #include <semaphore.h> | |
101 #endif | |
102 | |
103 | |
99 #if (NGX_HAVE_POLL) | 104 #if (NGX_HAVE_POLL) |
100 #include <poll.h> | 105 #include <poll.h> |
101 #endif | 106 #endif |
102 | 107 |
103 | 108 |