gevent #287

Merged
Atheros1 merged 19 commits from master into master 2013-07-05 22:59:12 +02:00
Showing only changes of commit e47d35769b - Show all commits

View File

@ -9,7 +9,7 @@ import threading
import Queue import Queue
import time import time
class BGWorker(threading.Thread): class bgWorker(threading.Thread):
def __init__(self): def __init__(self):
threading.Thread.__init__(self) threading.Thread.__init__(self)
self.q = Queue.Queue() self.q = Queue.Queue()
@ -33,6 +33,6 @@ class BGWorker(threading.Thread):
finally: finally:
time.sleep(0.05) time.sleep(0.05)
bgworker = BGWorker() bgworker = bgWorker()
bgworker.setDaemon(True) bgworker.setDaemon(True)
bgworker.start() bgworker.start()