Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/geekcomputers/Python
/ run
Method
run
thread_signal.py:13–19 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
11
self.event = event
12
13
def
run(self):
14
while
self.event.is_set():
15
print(
"sub thread"
)
16
sleep(2)
17
else
:
18
print(
"sub thread end"
)
19
exit()
20
21
22
def
handler_thread(event):
Callers
3
alexa_news_headlines.py
File · 0.45
run_cat
Method · 0.45
flask_rendering.py
File · 0.45
Calls
1
exit
Function · 0.85
Tested by
1
run_cat
Method · 0.36