0
可能性の重複:私の仕事で
What are alternative ways to suspend and resume a thread?Thread.Suspend()およびThread.Resume()の代わりに使用します。
私は、以前のスレッドが行った作業を中断し、再開するThread.Suspend();
とThread.Resume();
を使用。しかし今コンパイル中はThread.Suspend();
となり、Thread.Resume();
は廃止され、廃止予定です。
作業を中断して再開する方法はありますか?
あなたのスレッドが実際に何をしているかによって、最適な解決方法が決まります –
コメントを追加することはできませんので、これを回答に入れておきます。 http://stackoverflow.com/questions/382173/what-are-alternative-ways-to-suspend-and-resume-a-thread –