应该是并发安全的 task_done() import queueq = queue.Queue()q.put(1)q.put(2)q.put(3)print(q.get())print(q.get())print(q.get())# 输出123