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