Skip to content

ShichaoMa/MultiThreadClosing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

强制关闭子线程程序

代码更新并合并到了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强制关闭程序

About

多线程程序各线程关闭友好的基类实现

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages