MCPcopy
hub / github.com/Xyntax/POC-T / setThreadDaemon

Function setThreadDaemon

lib/controller/engine.py:126–131  ·  view source on GitHub ↗
(thread)

Source from the content-addressed store, hash-verified

124
125
126def setThreadDaemon(thread):
127 # Reference: http://stackoverflow.com/questions/190010/daemon-threads-explanation
128 if PYVERSION >= "2.6":
129 thread.daemon = True
130 else:
131 thread.setDaemon(True)
132
133
134def changeFoundCount(num):

Callers 1

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected