mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-17 03:03:23 +02:00
Add support of epoll and kqueue into Socket::select and SocketImpl::poll
This commit is contained in:
@@ -184,6 +184,15 @@
|
||||
#define POCO_ARCH_BIG_ENDIAN 1
|
||||
#endif
|
||||
|
||||
//TODO: need to determine Linux > 2.6.0
|
||||
#if (POCO_OS == POCO_OS_LINUX)
|
||||
#define POCO_HAVE_FD_EPOLL 1
|
||||
#endif
|
||||
|
||||
//TODO: need to determine which of FreeBSD have kqueue
|
||||
#if (POCO_OS == POCO_OS_FREE_BSD)
|
||||
#define POCO_HAVE_FD_KQUEUE 1
|
||||
#endif
|
||||
|
||||
//TODO: determine all platforms having poll() call
|
||||
#if (POCO_OS == POCO_OS_SOLARIS) || (POCO_OS == POCO_OS_LINUX)
|
||||
|
Reference in New Issue
Block a user