todo
This commit is contained in:
parent
6fc6fa6ec2
commit
fa5f7d384e
@ -4,6 +4,7 @@ Things with not so deep knowledge needed are marekd wiht "(Easy for contribution
|
|||||||
General:
|
General:
|
||||||
- implement onScreenUpdate commands
|
- implement onScreenUpdate commands
|
||||||
read highlighted text mode
|
read highlighted text mode
|
||||||
|
- Migrate *Data.py to classes and use getter/setter
|
||||||
- try to make it more asynchronus with multpible threads
|
- try to make it more asynchronus with multpible threads
|
||||||
- be more event based (vcsa sets POLLPRI)
|
- be more event based (vcsa sets POLLPRI)
|
||||||
http://scotdoyle.com/python-epoll-howto.html
|
http://scotdoyle.com/python-epoll-howto.html
|
||||||
|
@ -97,9 +97,9 @@ class eventManager():
|
|||||||
self._mainLoopRunning.value = 1
|
self._mainLoopRunning.value = 1
|
||||||
if multiprocess:
|
if multiprocess:
|
||||||
t = Process(target=self.simpleEventWorkerThread, args=(event, function, pargs))
|
t = Process(target=self.simpleEventWorkerThread, args=(event, function, pargs))
|
||||||
|
self._eventProcesses.append(t)
|
||||||
else:# thread not implemented yet
|
else:# thread not implemented yet
|
||||||
t = Process(target=self.simpleEventWorkerThread, args=(event, function, pargs))
|
t = Process(target=self.simpleEventWorkerThread, args=(event, function, pargs))
|
||||||
self._eventProcesses.append(t)
|
|
||||||
t.start()
|
t.start()
|
||||||
def cleanEventQueue(self):
|
def cleanEventQueue(self):
|
||||||
if self._eventQueue.empty():
|
if self._eventQueue.empty():
|
||||||
|
Loading…
Reference in New Issue
Block a user