Update Uptated-Prototype/Threading-test.py
This commit is contained in:
@@ -13,7 +13,7 @@ def TestThreadTwo():
|
|||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
testcounter += 1
|
testcounter += 1
|
||||||
print(testcounter)
|
print(testcounter)
|
||||||
if testcounter >= 10:
|
if testcounter >= 30:
|
||||||
break
|
break
|
||||||
|
|
||||||
t1 = threading.Thread(target=TestThreadOne, daemon=False)
|
t1 = threading.Thread(target=TestThreadOne, daemon=False)
|
||||||
|
|||||||
Reference in New Issue
Block a user