MCPcopy Index your code
hub / github.com/python/cpython / shutdown

Method shutdown

Lib/multiprocessing/managers.py:364–375  ·  view source on GitHub ↗

Shutdown this process

(self, c)

Source from the content-addressed store, hash-verified

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

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