So I know that you shouldn\'t use
Thread.Abort()
But I\'ve never been given a good explanation. Is there a performance penalty or some hid
Because if you know that the thread is in some safe state in which it can be aborted, surely you can arrange better communication and have the thread exit cleanly.
The thread could have taken a lock and be in the middle of changing some shared state, and the Thread.Abort will undo the lock and leave the shared state corrupted.