Mercurial > hg > nginx-vendor-current
comparison src/event/modules/ngx_rtsig_module.c @ 682:5cb5db9975ba NGINX_1_3_4
nginx 1.3.4
*) Change: the "ipv6only" parameter is now turned on by default for
listening IPv6 sockets.
*) Feature: the Clang compiler support.
*) Bugfix: extra listening sockets might be created.
Thanks to Roman Odaisky.
*) Bugfix: nginx/Windows might hog CPU if a worker process failed to
start.
Thanks to Ricardo Villalobos Guevara.
*) Bugfix: the "proxy_pass_header", "fastcgi_pass_header",
"scgi_pass_header", "uwsgi_pass_header", "proxy_hide_header",
"fastcgi_hide_header", "scgi_hide_header", and "uwsgi_hide_header"
directives might be inherited incorrectly.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 31 Jul 2012 00:00:00 +0400 |
parents | d0f7a625f27c |
children |
comparison
equal
deleted
inserted
replaced
681:625501f84a6b | 682:5cb5db9975ba |
---|---|
9 #include <ngx_core.h> | 9 #include <ngx_core.h> |
10 #include <ngx_event.h> | 10 #include <ngx_event.h> |
11 | 11 |
12 | 12 |
13 #if (NGX_TEST_BUILD_RTSIG) | 13 #if (NGX_TEST_BUILD_RTSIG) |
14 | |
15 #if (NGX_DARWIN) | |
16 | |
17 #define SIGRTMIN 33 | |
18 #define si_fd __pad[0] | |
19 | |
20 #else | |
14 | 21 |
15 #ifdef SIGRTMIN | 22 #ifdef SIGRTMIN |
16 #define si_fd _reason.__spare__.__spare2__[0] | 23 #define si_fd _reason.__spare__.__spare2__[0] |
17 #else | 24 #else |
18 #define SIGRTMIN 33 | 25 #define SIGRTMIN 33 |
19 #define si_fd __spare__[0] | 26 #define si_fd __spare__[0] |
20 #endif | 27 #endif |
21 | 28 |
29 #endif | |
30 | |
22 #define F_SETSIG 10 | 31 #define F_SETSIG 10 |
23 #define KERN_RTSIGNR 30 | 32 #define KERN_RTSIGNR 30 |
24 #define KERN_RTSIGMAX 31 | 33 #define KERN_RTSIGMAX 31 |
34 | |
35 int sigtimedwait(const sigset_t *set, siginfo_t *info, | |
36 const struct timespec *timeout); | |
25 | 37 |
26 int sigtimedwait(const sigset_t *set, siginfo_t *info, | 38 int sigtimedwait(const sigset_t *set, siginfo_t *info, |
27 const struct timespec *timeout) | 39 const struct timespec *timeout) |
28 { | 40 { |
29 return -1; | 41 return -1; |