def __init__(self, flags=None, default=None): AbstractLoop.__init__(self, ffi, libuv, _watchers, flags, default) self.__loop_pid = os.getpid() self._child_watchers = defaultdict(list) self._io_watchers = dict() self._fork_watchers = set() self._pid = os.getpid()
def __init__(self, flags=None, default=None): AbstractLoop.__init__(self, ffi, libuv, _watchers, flags, default) self._child_watchers = defaultdict(list) self._io_watchers = dict() self._fork_watchers = set() self._pid = os.getpid() self._default = (self._ptr == libuv.uv_default_loop()) self._queued_callbacks = []
def __init__(self, flags=None, default=None): AbstractLoop.__init__(self, ffi, libev, _watchers, flags, default) self._default = bool(libev.ev_is_default_loop(self._ptr))
def __init__(self, flags=None, default=None): AbstractLoop.__init__(self, ffi, libev, _watchers, flags, default)