summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8a421d3)
self.event_cb(m)
except :
pass
self.event_cb(m)
except :
pass
-
- #try:
- # wiiuse.poll(self.wiimotes, self.nmotes)
- #except:
- # pass
# allow executing functions in this thread
while True:
# allow executing functions in this thread
while True:
func, args = self.queue.get_nowait()
except Empty:
break
func, args = self.queue.get_nowait()
except Empty:
break
- print 'do:', func.__name__, args
func(*args)
def do(self, func, *args):
func(*args)
def do(self, func, *args):