Computer Science, asked by Tabish6261, 10 months ago

Difference between suspending and stopping a thread

Answers

Answered by Honeypie096
1

Suspending a thread in java puts thread to sleep indefinitely and it can also be resumed, while on the other hand stop threading terminates the thread and it can not be resumed. Once suspended it is also a simple matter to restart the thread.

Answered by harshraj12353
1
Suspending a thread in java puts thread to sleep indefinitely and it can also be resumed, while on the other hand stop threading terminates the thread and it can not be resumed. ... Once suspended it is also a simple matter to restart the thread.
Similar questions