更新时间:2021-11-26 22:04:16
没有一种不杀死进程的安全方法来杀死"线程.这不是您要刻意做的事情.为了进行测试,我会向您的应用程序添加代码以支持此操作.
There is no safe way to "kill" a thread without killing the process it is in. It not something you would do deliberately. For testing purposes I would add code to your application to support this.