在python中实现强制关闭线程的示例 如下所示:importthreadingimporttimeimportinspectimportctypesdef_async_raise(tid,exctype):"""raisestheexception,perf 关闭线程