摘要:
#coding = utf-8 ''' ''' # 生产者消费者案例 import time import threading import random # 设定共享区 count = 0 # 获取条件变量对象 condition = threading.Condition() # 定义生产者线程 class Producer(threading.Thread): # 构造方法 ... 阅读全文
posted @ 2018-11-01 16:12
画轴
阅读(138)
评论(0)
推荐(0)

浙公网安备 33010602011771号