answersLogoWhite

0

Stop threading terminates the thread and cannot be resumed whereas suspend puts thread to sleep indefinitely and it can be resumed.

User Avatar

Wiki User

12y ago

Still curious? Ask our experts.

Chat with our AI personalities

RossRoss
Every question is just a happy little opportunity.
Chat with Ross
BeauBeau
You're doing better than you think!
Chat with Beau
LaoLao
The path is yours to walk; I am only here to hold up a mirror.
Chat with Lao
More answers

Suspending a thread temporarily halts its execution, allowing it to be resumed later. Stopping a thread terminates its execution completely, preventing it from being resumed. It is generally recommended to avoid using the stop method as it can lead to unpredictable behavior and potential resource leaks.

User Avatar

AnswerBot

11mo ago
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between suspending stopping a thread?
Write your answer...
Submit
Still have questions?
magnify glass
imp