From 4e2facd91776517f8cbf66b3ee17f76887bd0bf3 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Mon, 2 Jun 2014 11:24:03 +0200 Subject: [PATCH] remove broken worker-thread-count-check, Keyboard-interrupts are handled anyways and inkscape-errors are printed while it's now up to you to kill the master-thread then --- sotmeu14/make.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sotmeu14/make.py b/sotmeu14/make.py index 976ccdb..1c111a6 100755 --- a/sotmeu14/make.py +++ b/sotmeu14/make.py @@ -458,12 +458,4 @@ while True: # sleep while the workers work time.sleep(1) - # check if all worker-threads are still alive - thread_count = len(filter(lambda t: t.is_alive(), threads)) - - # exit otherwise - if thread_count != num_worker_threads: - tprint("{0} of {1} threads have died, ending".format(num_worker_threads - thread_count, num_worker_threads)) - sys.exit(23) - print "all worker threads ended"