self.q = q
def run(self):
- #print str(self) + " runs " + str(self.function) + " with args " + str(self.args)
+ #print str(self) + " runs " + str(self.function) + " with args " + str(self.args)
+ #try:
self.q.put(self.function(*self.args))
+ #except IOError:
+ # pass
w.terminate()
s.join()
raise Exception("TIMEOUT")
-
+ time.sleep(0.1)