select refactoring IXSocket::select -> IXSocket::poll

This commit is contained in:
Benjamin Sergeant
2019-06-25 10:16:40 -07:00
parent e5faa23d4f
commit 4a600c2611
3 changed files with 13 additions and 14 deletions

View File

@ -97,7 +97,10 @@ namespace ix
std::mutex _socketMutex;
private:
PollResultType select(bool readyToRead, int timeoutMs);
PollResultType poll(bool readyToRead,
int timeoutMs,
int sockfd,
int interruptFd);
static const int kDefaultPollTimeout;
static const int kDefaultPollNoTimeout;