Improvements to robustness of CThreadPool.
Rationalised CThreadPool a bit, so that only the main thread is used for thread death notifications. This means that the death of parent threads no longer causes a panic when the child threads is shut down.
code
{
font-family: monospace;
background-color: #FFFDDF;
padding:1px;
border:1px solid #EEECCE;
}
body
{
background-color: #FFFFFF;
font-family: verdana, sans-serif;
font-size: 12px;
}