MCPcopy Index your code
hub / github.com/RustPython/RustPython / shutdown

Method shutdown

Lib/multiprocessing/managers.py:363–374  ·  view source on GitHub ↗

Shutdown this process

(self, c)

Source from the content-addressed store, hash-verified

361 return len(self.id_to_refcount)
362
363 def shutdown(self, c):
364 '''
365 Shutdown this process
366 '''
367 try:
368 util.debug('manager received shutdown message')
369 c.send(('#RETURN', None))
370 except:
371 import traceback
372 traceback.print_exc()
373 finally:
374 self.stop_event.set()
375
376 def create(self, c, typeid, /, *args, **kwds):
377 '''

Callers 2

__exit__Method · 0.45
shutdownMethod · 0.45

Calls 4

print_excMethod · 0.80
debugMethod · 0.45
sendMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected