Exit the poller when it handles no connection at all

This commit is contained in:
Florent Le Coz
2013-11-03 17:55:23 +01:00
parent f2f94618fc
commit d834d6ed06
4 changed files with 10 additions and 4 deletions
+2 -1
View File
@@ -57,8 +57,9 @@ public:
/**
* Wait for all watched events, and call the SocketHandlers' callbacks
* when one is ready.
* Returns false if there are 0 SocketHandler in the list.
*/
void poll();
bool poll();
private:
/**