tomato tomato
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6165 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -50,7 +50,7 @@ public class SelectorIterable
|
||||
|
||||
// check for incoming network events
|
||||
int eventCount =
|
||||
_selectLoopTime == 0 ? _selector.select(_selectLoopTime) : _selector.selectNow();
|
||||
_selectLoopTime == 0 ? _selector.selectNow() : _selector.select(_selectLoopTime);
|
||||
Set<SelectionKey> ready = _selector.selectedKeys();
|
||||
if (eventCount == 0 && ready.size() != 0) {
|
||||
log.warning("select() returned no selected sockets, but there are "
|
||||
|
||||
Reference in New Issue
Block a user