Ejemplo n.º 1
0
 def __init__(self):
     """
     Initialize kqueue object, file descriptor tracking dictionaries, and the
     base class.
     """
     self._kq = kqueue()
     self._reads = {}
     self._writes = {}
     self._selectables = {}
     posixbase.PosixReactorBase.__init__(self)
Ejemplo n.º 2
0
    def __init__(self):
        """
		Initialize kqueue object, file descriptor tracking dictionaries, and the
		base class.
		"""
        self._kq = kqueue()
        self._reads = {}
        self._writes = {}
        self._selectables = {}
        posixbase.PosixReactorBase.__init__(self)