How to kill a thread in delphi?

前端 未结 5 1349
慢半拍i
慢半拍i 2020-12-01 05:26

In delphi, a method in TThread is terminate. It seems a subthread can not kill another thread by calling terminate or free. For example A(main form), B (a thread unit), C (a

5条回答
  •  有刺的猬
    2020-12-01 06:17

    If you might want to terminate a thread then you could be better off spawning another app and killing that if you think its failed - windows will then tidy up after you.

提交回复
热议问题