MCPcopy Index your code
hub / github.com/Bitmessage/PyBitmessage / signals

Function signals

src/class_smtpServer.py:184–188  ·  view source on GitHub ↗
(signal, frame)

Source from the content-addressed store, hash-verified

182 asyncore.loop(1)
183
184def signals(signal, frame):
185 print "Got signal, terminating"
186 for thread in threading.enumerate():
187 if thread.isAlive() and isinstance(thread, StoppableThread):
188 thread.stopThread()
189
190def runServer():
191 print "Running SMTPd thread"

Callers

nothing calls this directly

Calls 1

stopThreadMethod · 0.45

Tested by

no test coverage detected