Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DasyDong/developer-roadmap
/ test
Function
test
code/thread.py:16–19 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
14
num = 0
15
mutex = threading.Lock()
16
def
test():
17
for
i in range(5):
18
t = MyThread()
19
t.start()
20
21
if
__name__==
"__main__"
:
22
test()
Callers
1
thread.py
File · 0.85
Calls
1
MyThread
Class · 0.85
Tested by
no test coverage detected