Exemplo n.º 1
0
def wait_readwrite(fileno, timeout=None):
    if not timeout:
        timeout = 0
    server.trampoline(fileno, read=True, write=True, timeout=int(timeout))
Exemplo n.º 2
0
 def _wait_read(self):
     trampoline(self._fd, True, False)
Exemplo n.º 3
0
 def _wait_write(self):
     trampoline(self._fd, False, True)
Exemplo n.º 4
0
def wait_readwrite(fileno, timeout=None):
    if not timeout:
        timeout = 0
    server.trampoline(fileno, read=True, write=True, timeout=int(timeout))
Exemplo n.º 5
0
 def _wait_read(self):
     trampoline(self._fd, True, False)
Exemplo n.º 6
0
 def _wait_write(self):
     trampoline(self._fd, False, True)