Should you code in case the threads die or freeze?
<p>I have an app that starts 10 threads.
Each thread does it's work and waits (using the producer consumer model).
So when more work comes along, one of the threads is unblocked and it does the work.</p>

<p>A colleague at work insists I should write some code that monitors the threads "just in case" they freeze/do not respond or die.</p>

<p>So far in my testing, they work fine and close down correctly.</p>

<p>My question is "should I put code in to do this"? If so, "how do I monitor a thread and check it's status"?</p>

<p>Thanks.
JD</p>
