This commit is contained in:
Alexis Delhaie
2020-10-05 18:58:55 +02:00
parent fa3b0fefbf
commit 9d90ae5bd3
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ class ProducerThread(threading.Thread):
q.put(self.threads[i]) q.put(self.threads[i])
i += 1 i += 1
while q.qsize() > 0: while q.qsize() > 0:
time.sleep(1) time.sleep(0.1)
except: except:
pass pass
not_finished = False not_finished = False

View File

@@ -12,7 +12,7 @@ import thread
import basic_producer_consumer import basic_producer_consumer
console = Console(highlight=False) console = Console(highlight=False)
VERSION = "1.3.1" VERSION = "1.3.2"
thread.console = console thread.console = console
def main(): def main():