for i in range(400): try: thread=consumer(quee) thread.setDaemon(True) thread.start() except: print "Working only with %s threads"%i break
for i in range(400): try: thread=consumer(quee) thread.setDaemon(True) thread.start() thread.excepthook() except: print "Working only with %s threads"%i break
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)