Mercurial > hg > nginx-quic
comparison src/os/unix/ngx_linux_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 | 5cecc8377613 |
children | b044d6553d52 |
comparison
equal
deleted
inserted
replaced
3908:8258eb4c9d25 | 3909:0daede16d68b |
---|---|
56 | 56 |
57 | 57 |
58 #include <ngx_auto_config.h> | 58 #include <ngx_auto_config.h> |
59 | 59 |
60 | 60 |
61 #if (NGX_HAVE_POSIX_SEM) | |
62 #include <semaphore.h> | |
63 #endif | |
64 | |
65 | |
61 #if (NGX_HAVE_SYS_PRCTL_H) | 66 #if (NGX_HAVE_SYS_PRCTL_H) |
62 #include <sys/prctl.h> | 67 #include <sys/prctl.h> |
63 #endif | 68 #endif |
64 | 69 |
65 | 70 |