def __init__(self, shared_condition): """ Construct an event. :param shared_condition: shared condition varaible. :type shared_condition: threading.Condition """ Event.__init__(self) self._shared_cond = shared_condition
def __init__(self): """ Inits self. self.c_callback is the real C-like callback function. """ Event.__init__(self) Queue.__init__(self) self.c_callback = \ ctypes.WINFUNCTYPE(ctypes.c_void_p, ctypes.POINTER(ctypes.c_int), ctypes.POINTER(ctypes.c_int))(self.Callbackfunc)
def __init__(self): """Constructor.""" Event.__init__(self)
def __init__(self): Event.__init__(self) self.reply = None
def __init__(self): Thread.__init__(self, daemon=True) Event.__init__(self) self.start()
def __init__(self): Event.__init__(self) self.char = False self.control = False