Pausing and resuming a thread without Suspend() and Resume()

S

SpookyET

How do you pause and resume some work without using Thread.Suspend and
Thread.Resume since they are deprecated in .NET 2.0?
 
M

McMe

Mutex would be the best bet. Suspend and Resume were never a good advice
anyway. Mutex has always been the prefered method, even with C++.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top