MCPcopy Create free account
hub / github.com/ValveSoftware/GameNetworkingSockets / join

Method join

tests/test_p2p.py:140–147  ·  view source on GitHub ↗
( self, timeout )

Source from the content-addressed store, hash-verified

138
139 # Wait for thread to shutdown. Nuke process if we don't exit in time
140 def join( self, timeout ):
141 threading.Thread.join( self, timeout )
142 if self.is_alive():
143 self.WriteLn( "Still running after %d seconds. Killing" % timeout )
144 global g_failed
145 g_failed = True
146 if self.process is not None:
147 self.process.kill()
148
149 # Attempt graceful shutdown
150 def term( self ):

Callers 7

termMethod · 0.95
StopServiceThreadFunction · 0.80
runMethod · 0.80
StartClientInThreadFunction · 0.80
ClientServerTestFunction · 0.80
_build_responseFunction · 0.80

Calls 1

WriteLnMethod · 0.95

Tested by

no test coverage detected