摘要: 多线程 import threading import time lock = threading.Lock() i = 0 def run(): global i while True: with lock: print(threading.current_thread().name, '=>', 阅读全文
posted @ 2025-08-13 10:15 CrossPython 阅读(7) 评论(0) 推荐(0)