Bitwise operations on a thread's ThreadState
I'm just playing some with threads and now I want the possibility to pause and resume a thread. I've got a button that when clicked should check if the thread is running and then do myThread.Suspend(); and if not do myThread.Resume();
How should I do that?
Thanks in advance!

