摘要: 利用wait的阻塞机制, 就能够实现暂停和恢复了, 再配合循环判断标识位, 就能实现退出了 #!/usr/bin/env python # coding: utf-8 import threading import time class Job(threading.Thread): def __in 阅读全文
posted @ 2020-07-08 09:55 modentime 阅读(1016) 评论(0) 推荐(0) 编辑