X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/42cf115660f3852e9cc3b91bd79b852a99d13065..c896b553711ae963b01b7a602e8fb6718d107f6f:/README.embed?ds=inline diff --git a/README.embed b/README.embed index 06c4c6c..e987765 100644 --- a/README.embed +++ b/README.embed @@ -42,6 +42,7 @@ FILESETS 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. @@ -85,10 +86,12 @@ PREPROCESSOR SYMBOLS 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 @@ -118,12 +121,13 @@ PREPROCESSOR SYMBOLS EV_SELECT_IS_WINSOCKET - When defined to 1, the select backend will assume that select - doesn't understand file descriptors but wants osf handles on - win32 (this is the case when the select to be used is the winsock - select). This means that it will call _get_osfhandle on the fd to - convert it to an OS handle. Should not be defined on non-win32 - platforms. + When defined to 1, the select backend will assume that + select/socket/connect etc. don't understand file descriptors but + wants osf handles on win32 (this is the case when the select to + be used is the winsock select). This means that it will call + _get_osfhandle on the fd to convert it to an OS handle. Otherwise, + it is assumed that all these functions actually work on fds, even + on win32. Should not be defined on non-win32 platforms. EV_USE_POLL @@ -165,9 +169,14 @@ PREPROCESSOR SYMBOLS be used to virtually rename the ev.h header file in case of conflicts. + EV_CONFIG_H + + If EV_STANDALONE isn't 1, this variable can be used to override + ev.c's idea of where to find the "config.h" file. + EV_EVENT_H - Similarly to EV_H, this macro cna be used to override event.c's idea + Similarly to EV_H, this macro can be used to override event.c's idea of how the event.h header can be found. EV_PROTOTYPES