Lines Matching refs:_selector
65 self._selector = selector
68 return len(self._selector._fd_to_key)
72 fd = self._selector._fileobj_lookup(fileobj)
73 return self._selector._fd_to_key[fd]
78 return iter(self._selector._fd_to_key)
350 self._selector = self._selector_cls()
360 self._selector.register(key.fd, poller_events)
369 self._selector.unregister(key.fd)
390 self._selector.modify(key.fd, selector_events)
416 fd_event_list = self._selector.poll(timeout)
450 return self._selector.fileno()
469 fd_event_list = self._selector.poll(timeout, max_ev)
485 self._selector.close()
498 return self._selector.fileno()
501 self._selector.close()
512 self._selector = select.kqueue()
515 return self._selector.fileno()
523 self._selector.control([kev], 0, 0)
527 self._selector.control([kev], 0, 0)
539 self._selector.control([kev], 0, 0)
548 self._selector.control([kev], 0, 0)
562 kev_list = self._selector.control(None, max_ev, timeout)
580 self._selector.close()