MCPcopy Create free account
hub / github.com/MorvanZhou/tutorials / thread_job

Function thread_job

threadingTUT/thread3_join.py:8–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6import threading
7import time
8def thread_job():
9 print('T1 start\n')
10 for i in range(10):
11 time.sleep(0.1)
12 print('T1 finish\n')
13
14def T2_job():
15 print('T2 start\n')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected