基于类和基于函数的python多线程样例

不断的练,加深记忆吧。 #!/usr/bin/env python # -*- coding: utf-8 -*- import threading import time exitFlag = 0 def first_function(): print (threading.currentThread().getName() + \ str(' is S
相关文章
相关标签/搜索