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

Method close

Lib/multiprocessing/pool.py:647–652  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

645 )
646
647 def close(self):
648 util.debug('closing pool')
649 if self._state == RUN:
650 self._state = CLOSE
651 self._worker_handler._state = CLOSE
652 self._change_notifier.put(None)
653
654 def terminate(self):
655 util.debug('terminating pool')

Callers 15

test_make_poolMethod · 0.95
test_empty_iterableMethod · 0.95
test_pool_initializerMethod · 0.95
pool_in_processFunction · 0.95
_launchMethod · 0.45
_stop_unlockedMethod · 0.45

Calls 2

debugMethod · 0.45
putMethod · 0.45