This commit is contained in:
chrys
2017-07-21 00:17:41 +02:00
parent 6fc6fa6ec2
commit fa5f7d384e
2 changed files with 2 additions and 1 deletions

View File

@ -97,9 +97,9 @@ class eventManager():
self._mainLoopRunning.value = 1
if multiprocess:
t = Process(target=self.simpleEventWorkerThread, args=(event, function, pargs))
self._eventProcesses.append(t)
else:# thread not implemented yet
t = Process(target=self.simpleEventWorkerThread, args=(event, function, pargs))
self._eventProcesses.append(t)
t.start()
def cleanEventQueue(self):
if self._eventQueue.empty():