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

@ -4,6 +4,7 @@ Things with not so deep knowledge needed are marekd wiht "(Easy for contribution
General:
- implement onScreenUpdate commands
read highlighted text mode
- Migrate *Data.py to classes and use getter/setter
- try to make it more asynchronus with multpible threads
- be more event based (vcsa sets POLLPRI)
http://scotdoyle.com/python-epoll-howto.html

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():