摘要:
"""In CPython, the global interpreter lock, or GIL, is a mutex that prevents multiplenative threads from executing Python bytecodes at once. This lock 阅读全文
posted @ 2019-05-09 00:59
希希大队长
阅读(211)
评论(0)
推荐(0)
摘要:
import queue# 1.普通q# 2.先进后出q# 3.优先级q 普通Queue q=queue.Queue(3)q.put(1)q.put(2)q.put(3)print(q.get())print(q.get())print(q.get())输出:123# 先进后出,堆栈式队列q = q 阅读全文
posted @ 2019-05-09 00:53
希希大队长
阅读(262)
评论(0)
推荐(0)


浙公网安备 33010602011771号