Lines Matching refs:ready
63 int ready;
107 ready = select(maxfd + 1, &rset, &wset, &xset, (timeout == -1 ? NULL : &tv));
109 if ((ready == -1) && (errno == EBADF)) {
110 ready = 0;
152 ++ready;
167 ready++;
178 if (ready) {
182 ready = select(maxfd + 1, &rset, &wset, &xset, (timeout == -1 ? NULL : &tv));
190 if (ready > 0) {
191 ready = 0;
228 ready++;
232 return ready;