|
|
1 | #define ECB_NO_THREADS 1 |
|
|
2 | |
|
|
3 | #define EV_COMPAT3 0 |
|
|
4 | #define EV_USE_SELECT 1 |
1 | #define EV_USE_POLL 0 |
5 | #define EV_USE_EPOLL 1 |
2 | #define EV_MULTIPLICITY 0 |
6 | #define EV_USE_KQUEUE 1 |
|
|
7 | #define EV_USE_PORT 1 |
|
|
8 | //#define EV_USE_LINUXAIO 1 |
|
|
9 | //#define EV_USE_IOURING 1 |
|
|
10 | #define EV_USE_IOURING 1 |
|
|
11 | //#define EV_USE_TIMERFD 0 |
3 | #define EV_PERIODIC_ENABLE 0 |
12 | #define EV_PREPARE_ENABLE 1 |
|
|
13 | #define EV_IDLE_ENABLE 1 |
|
|
14 | #define EV_SIGNAL_ENABLE 1 |
|
|
15 | #define EV_CHILD_ENABLE 1 |
|
|
16 | #define EV_USE_STDEXCEPT 0 |
4 | #define EV_CONFIG_H <config.h> |
17 | #define EV_CONFIG_H <config.h> |
5 | #define EV_MINPRI 0 |
18 | |
6 | #define EV_MAXPRI 0 |
19 | #include <config.h> |
|
|
20 | |
|
|
21 | #if ENABLE_FRILLS |
|
|
22 | # define EV_FEATURES 1 | 2 |
|
|
23 | #else |
|
|
24 | # define EV_FEATURES 0 |
|
|
25 | # define NDEBUG |
|
|
26 | #endif |
7 | |
27 | |
8 | #include "ev++.h" |
28 | #include "ev++.h" |