Lines Matching defs:select
6 import array, logging, os, random, re, select, shutil, socket, sys, tempfile
252 ret = select.select([self.sock], [], [], 1.0)
346 ret = select.select([], [self.port.sock], [], 1.0)
412 # TODO: Workaround, it didn't work with select :-/
452 ret = select.select([self.port.sock], [], [], 1.0)
694 while select.select([recv_pt.sock], [], [], 0.1)[0]:
865 on_guest("virt.poll('%s', %s)" % (port.name, select.POLLOUT), vm,
870 for test in [select.POLLIN, select.POLLOUT]:
876 for test in [select.POLLIN, select.POLLHUP]:
881 on_guest("virt.poll('%s', %s)" % (port.name, select.POLLHUP), vm,
887 on_guest("virt.poll('%s', %s)" % (port.name, select.POLLOUT), vm,
907 on_guest("virt.set_pool_want_return('%s', select.POLLOUT)" %
916 on_guest("virt.set_pool_want_return('%s', select.POLLOUT |"
917 " select.POLLIN)" % (port.name), vm, 10)
922 on_guest("virt.set_pool_want_return('%s', select.POLLHUP |"
923 " select.POLLIN)" % (port.name), vm, 10)
928 on_guest("virt.set_pool_want_return('%s', select.POLLOUT |"
929 " select.POLLIN)" % (port.name), vm, 10)
936 on_guest("virt.set_pool_want_return('%s', select.POLLOUT)"
1009 ret = select.select([port.sock], [], [], 10.0)
1153 ret = select.select([recv_port.sock], [], [], 1.0)
1742 while select.select([recv_pt.sock], [], [], 0.1)[0]:
1812 (port.name, select.POLLIN), vm, 10)[0]: