ev_poll.c only when poll backend is enabled (disabled by default)
ev_epoll.c only when the epoll backend is enabled (disabled by default)
ev_kqueue.c only when the kqueue backend is enabled (disabled by default)
+ ev_port.c only when the solaris port backend is enabled (disabled by default)
"ev.c" includes the backend files directly when enabled.
EV_USE_MONOTONIC
- If undefined or defined to be "1", libev will try to detect the
- availability of the monotonic clock option at both compiletime and
+ If defined to be "1", libev will try to detect the availability
+ of the monotonic clock option at both compiletime and
runtime. Otherwise no use of the monotonic clock option will be
- attempted.
+ attempted. If you enable this, you usually have to link against
+ librt or something similar. Enabling it when the functionality
+ isn't available is safe, though.
EV_USE_REALTIME
/**/
#ifndef EV_USE_MONOTONIC
-# define EV_USE_MONOTONIC 1
+# define EV_USE_MONOTONIC 0
#endif
#ifndef EV_USE_REALTIME
-# define EV_USE_REALTIME 1
+# define EV_USE_REALTIME 0
#endif
#ifndef EV_USE_SELECT
# define EV_USE_SELECT 1
-# define EV_SELECT_USE_FD_SET 1
#endif
#ifndef EV_USE_POLL
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. The name of the author may not be used to endorse or promote products
- * derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES