MCPcopy Create free account
hub / github.com/geekcomputers/Python / __init__

Method __init__

thread_signal.py:9–11  ·  view source on GitHub ↗
(self, event)

Source from the content-addressed store, hash-verified

7
8class producer(threading.Thread):
9 def __init__(self, event):
10 threading.Thread.__init__(self)
11 self.event = event
12
13 def run(self):
14 while self.event.is_set():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected