MCPcopy 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
22def handler_thread(event):

Callers 3

run_catMethod · 0.45
flask_rendering.pyFile · 0.45

Calls 1

exitFunction · 0.85

Tested by 1

run_catMethod · 0.36