X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/f80233888429b82d548aed2fca59cd324e1b6610..11e1fb9f26bd38ce55ce687f0fe7031122da8202:/README.embed diff --git a/README.embed b/README.embed index b7e3ea4..b80a23a 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 @@ -147,8 +151,14 @@ PREPROCESSOR SYMBOLS will be detected at runtime and routed around by disabling this backend. + EV_USE_PORT + + If defined to be "1", libev will compile in support for the Solaris + 10 port style backend. Its availability will be detected at runtime, + otherwise another method will be used as fallback. This is the + preferred backend for Solaris 10 systems. + EV_USE_DEVPOLL - EV_USE_PORTS reserved for future expansion, works like the USE symbols above.