… | |
… | |
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 |
… | |
… | |
145 | otherwise another method will be used as fallback. This is the |
148 | otherwise another method will be used as fallback. This is the |
146 | preferred backend for BSD and BSD-like systems. Darwin brokenness |
149 | preferred backend for BSD and BSD-like systems. Darwin brokenness |
147 | will be detected at runtime and routed around by disabling this |
150 | will be detected at runtime and routed around by disabling this |
148 | backend. |
151 | backend. |
149 | |
152 | |
|
|
153 | EV_USE_PORT |
|
|
154 | |
|
|
155 | If defined to be "1", libev will compile in support for the Solaris |
|
|
156 | 10 port style backend. Its availability will be detected at runtime, |
|
|
157 | otherwise another method will be used as fallback. This is the |
|
|
158 | preferred backend for Solaris 10 systems. |
|
|
159 | |
150 | EV_USE_DEVPOLL |
160 | EV_USE_DEVPOLL |
151 | EV_USE_PORTS |
|
|
152 | |
161 | |
153 | reserved for future expansion, works like the USE symbols above. |
162 | reserved for future expansion, works like the USE symbols above. |
154 | |
163 | |
155 | EV_H |
164 | EV_H |
156 | |
165 | |