bslatkin/dpxdt — pull request #1 by loedolff (2013-04-17 00:17:31+00:00)
Title: Wait for all threads to shutdown gracefully before terminating.

This commit resolves the following errors that were seen when WorkflowThread.stop() was called. I saw these errors every time I ran run_site_diff.sh
-------------------------------------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner
File "/home/loedolff/dev/dpxdt/dpxdt/client/workers.py", line 142, in run
File "/usr/lib64/python2.6/Queue.py", line 65, in task_done
File "/usr/lib64/python2.6/threading.py", line 291, in notifyAll
: 'NoneType' object is not callable
Exception in thread Thread-5 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner
File "/home/loedolff/dev/dpxdt/dpxdt/client/workers.py", line 127, in run
: 'NoneType' object has no attribute 'Empty'
Exception in thread Thread-3 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner
File "/home/loedolff/dev/dpxdt/dpxdt/client/workers.py", line 127, in run
: 'NoneType' object has no attribute 'Empty'
Exception in thread Thread-4 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner
File "/home/loedolff/dev/dpxdt/dpxdt/client/workers.py", line 127, in run
: 'NoneType' object has no attribute 'Empty'
Exception in thread Thread-6 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner