Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
test
autotest-airtest-web-spd
Commits
f72f2144
Commit
f72f2144
authored
Apr 14, 2025
by
liguangyu06
Browse files
增加多线程
parent
a9c9f8ce
Changes
2
Hide whitespace changes
Inline
Side-by-side
air_case/b2_herp3_bs/生成结算数据.air/生成结算数据.py
View file @
f72f2144
...
...
@@ -115,7 +115,7 @@ def c_pur():
# 创建多线程
threads
=
[]
for
_
in
range
(
2
0
):
for
_
in
range
(
1
0
):
t
=
threading
.
Thread
(
target
=
c_pur
)
threads
.
append
(
t
)
t
.
start
()
...
...
air_case/b2_herp3_bs/生成结算数据低值.air/生成结算数据低值.py
View file @
f72f2144
...
...
@@ -115,7 +115,7 @@ def c_pur():
# 创建多线程
threads
=
[]
for
_
in
range
(
10
):
for
_
in
range
(
5
):
t
=
threading
.
Thread
(
target
=
c_pur
)
threads
.
append
(
t
)
t
.
start
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment