def __init__(self): self.__lock = core.Mutex('PythonLock') self.__cvar = core.ConditionVar(self.__lock) self.__locked = False
def __init__(self): self.__lock = core.Mutex("Python Event") self.__cvar = core.ConditionVar(self.__lock) self.__flag = False