Administrator
2023-09-12 802f51948ad7b05b7fdf1cd9e885892a5c2523b2
test/test.py
@@ -9,7 +9,10 @@
__queue = queue.Queue()
def start_thread():
    print(threading.current_thread().getName(), threading.current_thread().ident)
if __name__ == "__main__":
    while True:
        data = __queue.get()
        print("数据:", data)
    threading.Thread(target=start_thread).start()