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

Function thread_job

threadingTUT/thread2_add_thread.py:13–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11# print(threading.current_thread())
12
13def thread_job():
14 print('This is a thread of %s' % threading.current_thread())
15
16def main():
17 thread = threading.Thread(target=thread_job,)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected