Mercurial > hg > nginx
comparison auto/sources @ 7444:4089b3d2cb59
Win32: added WSAPoll() support.
WSAPoll() is only available with Windows Vista and newer (and only
available during compilation if _WIN32_WINNT >= 0x0600). To make
sure the code works with Windows XP, we do not redefine _WIN32_WINNT,
but instead load WSAPoll() dynamically if it is not available during
compilation.
Also, sockets are not guaranteed to be small integers on Windows.
So an index array is used instead of NGX_USE_FD_EVENT to map
events to connections.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 24 Jan 2019 21:51:21 +0300 |
parents | 88a624c9b491 |
children | 336084ff943b 046c951e393a |
comparison
equal
deleted
inserted
replaced
7443:f3ff79ae31d9 | 7444:4089b3d2cb59 |
---|---|
104 SELECT_SRCS=src/event/modules/ngx_select_module.c | 104 SELECT_SRCS=src/event/modules/ngx_select_module.c |
105 WIN32_SELECT_SRCS=src/event/modules/ngx_win32_select_module.c | 105 WIN32_SELECT_SRCS=src/event/modules/ngx_win32_select_module.c |
106 | 106 |
107 POLL_MODULE=ngx_poll_module | 107 POLL_MODULE=ngx_poll_module |
108 POLL_SRCS=src/event/modules/ngx_poll_module.c | 108 POLL_SRCS=src/event/modules/ngx_poll_module.c |
109 WIN32_POLL_SRCS=src/event/modules/ngx_win32_poll_module.c | |
109 | 110 |
110 KQUEUE_MODULE=ngx_kqueue_module | 111 KQUEUE_MODULE=ngx_kqueue_module |
111 KQUEUE_SRCS=src/event/modules/ngx_kqueue_module.c | 112 KQUEUE_SRCS=src/event/modules/ngx_kqueue_module.c |
112 | 113 |
113 DEVPOLL_MODULE=ngx_devpoll_module | 114 DEVPOLL_MODULE=ngx_devpoll_module |