0
Answer

stop a thread

Photo of George George

George George

17y
2.2k
1

Hello everyone,


About using Abort or Interrrupt to stop a thread, I have two questions.

1. What are the pros and cons about Abort v.s. Interrupt?

2. If I program a background thread, compared with normal thread, will there be any special points to take care of (e.g. code in different) if the thread is stopped with Abort (or Interrupt)?


thanks in advance,
George