25.06.2011, 08:29
Quote:
I suppose people could just call DestroyThread at the end of the function, but it seems dangerous outside of that, what happens if you try to destroy a thread while its halfway through the function?
I recommend having a look at this, while its Java, it does give some insight as to the dangers of stopping a thread. |