Mercurial > hg > nginx
comparison src/os/unix/ngx_freebsd_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 | b044d6553d52 |
comparison
equal
deleted
inserted
replaced
3908:8258eb4c9d25 | 3909:0daede16d68b |
---|---|
66 | 66 |
67 | 67 |
68 #include <ngx_auto_config.h> | 68 #include <ngx_auto_config.h> |
69 | 69 |
70 | 70 |
71 #if (NGX_HAVE_POSIX_SEM) | |
72 #include <semaphore.h> | |
73 #endif | |
74 | |
75 | |
71 #if (NGX_HAVE_POLL) | 76 #if (NGX_HAVE_POLL) |
72 #include <poll.h> | 77 #include <poll.h> |
73 #endif | 78 #endif |
74 | 79 |
75 | 80 |