Terminating a worker thread

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I have created a second thread from my CDoc class that does some background
processing.

Everything seems to work fine unless I destroy the document before the
second thread has finished and exited.

I would like to kill my worker (second) thread as part of my document
destructor. What do I need to do to have that happen?

Thanks, Allan.


.