… | |
… | |
40 | |
40 | |
41 | ev_select.c only when select backend is enabled (which is is by default) |
41 | ev_select.c only when select backend is enabled (which is is by default) |
42 | ev_poll.c only when poll backend is enabled (disabled by default) |
42 | ev_poll.c only when poll backend is enabled (disabled by default) |
43 | ev_epoll.c only when the epoll backend is enabled (disabled by default) |
43 | ev_epoll.c only when the epoll backend is enabled (disabled by default) |
44 | ev_kqueue.c only when the kqueue backend is enabled (disabled by default) |
44 | ev_kqueue.c only when the kqueue backend is enabled (disabled by default) |
|
|
45 | ev_port.c only when the solaris port backend is enabled (disabled by default) |
45 | |
46 | |
46 | "ev.c" includes the backend files directly when enabled. |
47 | "ev.c" includes the backend files directly when enabled. |
47 | |
48 | |
48 | LIBEVENT COMPATIBILITY API |
49 | LIBEVENT COMPATIBILITY API |
49 | |
50 | |
… | |
… | |
83 | will also not define any of the structs usually found in "event.h" |
84 | will also not define any of the structs usually found in "event.h" |
84 | that are not directly supported by libev code alone. |
85 | that are not directly supported by libev code alone. |
85 | |
86 | |
86 | EV_USE_MONOTONIC |
87 | EV_USE_MONOTONIC |
87 | |
88 | |
88 | If undefined or defined to be "1", libev will try to detect the |
89 | If defined to be "1", libev will try to detect the availability |
89 | availability of the monotonic clock option at both compiletime and |
90 | of the monotonic clock option at both compiletime and |
90 | runtime. Otherwise no use of the monotonic clock option will be |
91 | runtime. Otherwise no use of the monotonic clock option will be |
91 | attempted. |
92 | attempted. If you enable this, you usually have to link against |
|
|
93 | librt or something similar. Enabling it when the functionality |
|
|
94 | isn't available is safe, though. |
92 | |
95 | |
93 | EV_USE_REALTIME |
96 | EV_USE_REALTIME |
94 | |
97 | |
95 | If defined to be "1", libev will try to detect the availability |
98 | If defined to be "1", libev will try to detect the availability |
96 | of the realtime clock option at compiletime (and assume its |
99 | of the realtime clock option at compiletime (and assume its |