thread suspend resume obsolete

W

wanwan

I'm using Microsoft Visual Studio 2005

in multithreading, I want to be able to pause and resume a thread. I
see that suspend and resume are deprecated. So what can I use instead.
 
D

David Browne

wanwan said:
I'm using Microsoft Visual Studio 2005

in multithreading, I want to be able to pause and resume a thread. I
see that suspend and resume are deprecated. So what can I use instead.

From the thread, wait using an Event.

David
 

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