Commit c5af9964 authored by liguangyu06's avatar liguangyu06
Browse files

增加多线程

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -116,7 +116,7 @@ def c_pur(): ...@@ -116,7 +116,7 @@ def c_pur():
# 创建多线程 # 创建多线程
threads = [] threads = []
for _ in range(1): for _ in range(5):
t = threading.Thread(target=c_pur) t = threading.Thread(target=c_pur)
threads.append(t) threads.append(t)
t.start() t.start()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment