mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 10:32:56 +01:00
moved poll into select
This commit is contained in:
@@ -121,11 +121,7 @@ void SocketReactor::run()
|
||||
{
|
||||
onIdle();
|
||||
}
|
||||
#if defined(POCO_HAVE_FD_POLL)
|
||||
else if (Socket::poll(readable, writable, except, _timeout))
|
||||
#else
|
||||
else if (Socket::select(readable, writable, except, _timeout))
|
||||
#endif
|
||||
{
|
||||
for (Socket::SocketList::iterator it = readable.begin(); it != readable.end(); ++it)
|
||||
dispatch(*it, _pReadableNotification);
|
||||
|
||||
Reference in New Issue
Block a user