Mercurial > hg > nginx-quic
comparison src/event/ngx_event.h @ 6126:adba26ff70b5
Removed the obsolete rtsig module.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 23 Apr 2015 14:17:40 +0300 |
parents | 4dc8e7b62216 |
children | 0b8f6f75245d |
comparison
equal
deleted
inserted
replaced
6125:4dc8e7b62216 | 6126:adba26ff70b5 |
---|---|
32 | 32 |
33 unsigned write:1; | 33 unsigned write:1; |
34 | 34 |
35 unsigned accept:1; | 35 unsigned accept:1; |
36 | 36 |
37 /* used to detect the stale events in kqueue, rtsig, and epoll */ | 37 /* used to detect the stale events in kqueue and epoll */ |
38 unsigned instance:1; | 38 unsigned instance:1; |
39 | 39 |
40 /* | 40 /* |
41 * the event was passed or would be passed to a kernel; | 41 * the event was passed or would be passed to a kernel; |
42 * in aio mode - operation was posted. | 42 * in aio mode - operation was posted. |
228 * kqueue in FreeBSD 4.1-4.2 has no NOTE_LOWAT so we need a separate flag. | 228 * kqueue in FreeBSD 4.1-4.2 has no NOTE_LOWAT so we need a separate flag. |
229 */ | 229 */ |
230 #define NGX_USE_LOWAT_EVENT 0x00000010 | 230 #define NGX_USE_LOWAT_EVENT 0x00000010 |
231 | 231 |
232 /* | 232 /* |
233 * The event filter requires to do i/o operation until EAGAIN: epoll, rtsig. | 233 * The event filter requires to do i/o operation until EAGAIN: epoll. |
234 */ | 234 */ |
235 #define NGX_USE_GREEDY_EVENT 0x00000020 | 235 #define NGX_USE_GREEDY_EVENT 0x00000020 |
236 | 236 |
237 /* | 237 /* |
238 * The event filter is epoll. | 238 * The event filter is epoll. |
239 */ | 239 */ |
240 #define NGX_USE_EPOLL_EVENT 0x00000040 | 240 #define NGX_USE_EPOLL_EVENT 0x00000040 |
241 | 241 |
242 /* | 242 /* |
243 * No need to add or delete the event filters: rtsig. | 243 * Obsolete. |
244 */ | 244 */ |
245 #define NGX_USE_RTSIG_EVENT 0x00000080 | 245 #define NGX_USE_RTSIG_EVENT 0x00000080 |
246 | 246 |
247 /* | 247 /* |
248 * Obsolete. | 248 * Obsolete. |
254 */ | 254 */ |
255 #define NGX_USE_IOCP_EVENT 0x00000200 | 255 #define NGX_USE_IOCP_EVENT 0x00000200 |
256 | 256 |
257 /* | 257 /* |
258 * The event filter has no opaque data and requires file descriptors table: | 258 * The event filter has no opaque data and requires file descriptors table: |
259 * poll, /dev/poll, rtsig. | 259 * poll, /dev/poll. |
260 */ | 260 */ |
261 #define NGX_USE_FD_EVENT 0x00000400 | 261 #define NGX_USE_FD_EVENT 0x00000400 |
262 | 262 |
263 /* | 263 /* |
264 * The event module handles periodic or absolute timer event by itself: | 264 * The event module handles periodic or absolute timer event by itself: |
279 | 279 |
280 | 280 |
281 /* | 281 /* |
282 * The event filter is deleted just before the closing file. | 282 * The event filter is deleted just before the closing file. |
283 * Has no meaning for select and poll. | 283 * Has no meaning for select and poll. |
284 * kqueue, epoll, rtsig, eventport: allows to avoid explicit delete, | 284 * kqueue, epoll, eventport: allows to avoid explicit delete, |
285 * because filter automatically is deleted | 285 * because filter automatically is deleted |
286 * on file close, | 286 * on file close, |
287 * | 287 * |
288 * /dev/poll: we need to flush POLLREMOVE event | 288 * /dev/poll: we need to flush POLLREMOVE event |
289 * before closing file. | 289 * before closing file. |