multi-thread-closing

Multi thread closing.


Keywords
multi, thread, management
License
MIT
Install
pip install multi-thread-closing==1.0.9

Documentation

强制关闭子线程程序

代码更新并合并到了ParallelMonitor中,请使用最新代码。

INSTALL

ubuntu

    (sudo) pip install multi-thread-closing

     or

     git clone https://github.com/ShichaoMa/MultiThreadClosing.git

#H ELLOWORLD 参见test.py

DESCRIPTION

使用信号管理主线程子线程关闭及资源回收操作
第一次ctrl c开始关闭程序,等待子线程最后一次循环完毕
第二次ctrl c强制关闭程序