What is the difference between suspending and stopping a thread?

What is the difference between suspending and stopping a thread?
Answer
Suspend method is used to suspend thread which can be restarted by using resume() method. stop() is used to stop the thread, it
cannot be restarted again.
 

Tìm kiếm

Back
Top