Lines Matching refs:event
1 """Selector and proactor event loops for Windows."""
172 _WaitHandleFuture using an event.
175 def __init__(self, ov, event, wait_handle, *, loop=None):
176 super().__init__(ov, event, wait_handle, loop=loop)
210 # wait forever for an event which will never come.
212 # If the IocpProactor already received the event, it's safe to call
306 """Windows version of selector event loop."""
310 """Windows version of proactor event loop using IOCP."""
329 # where it could still happen if the event loop is restarted).
706 def _wait_cancel(self, event, done_callback):
707 fut = self._wait_for_handle(event, None, True)
709 # in IocpProactor.close(), while the event loop is not running.
792 Call this method when its future has been cancelled. The event can
793 already be signalled (pending in the proactor event queue). It is also
794 safe if the event is never signalled (because it was cancelled).
829 'unexpected event'),