摘要:
import threading # 创建全局ThreadLocal对象: local_school = threading.local() def process_student(): # 获取当前线程关联的student: std = local_school.student print('Hello, %s (in %s)' % (std, threading.... 阅读全文
posted @ 2018-05-08 08:38
扫驴
阅读(221)
评论(0)
推荐(0)

浙公网安备 33010602011771号