fix bug with isReadyToWrite

This commit is contained in:
Benjamin Sergeant
2019-03-18 22:00:08 -07:00
parent bbc0e2106c
commit 13f4aee5ee
5 changed files with 24 additions and 20 deletions

View File

@ -50,7 +50,6 @@ namespace ix
int timeoutSecs = kDefaultPollTimeout);
bool wakeUpFromPoll(uint8_t wakeUpCode);
PollResultType select(bool readyToRead, int timeoutMs);
PollResultType isReadyToWrite(int timeoutMs);
PollResultType isReadyToRead(int timeoutMs);
@ -92,6 +91,8 @@ namespace ix
std::mutex _socketMutex;
private:
PollResultType select(bool readyToRead, int timeoutMs);
static const int kDefaultPollTimeout;
static const int kDefaultPollNoTimeout;