MCPcopy Create free account
hub / github.com/ActiveState/code / _shutdown

Method _shutdown

recipes/Python/578488_Threaded/recipe-578488.py:87–92  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

85 self._notify(requestId, frame)
86
87 def _shutdown(self):
88 with self._lock:
89 if self._closing:
90 return
91 self.put(self._writeSentinel, request=False)
92 self._closing = True
93
94class Writer(object):
95 SENTINEL = None

Callers 3

closeMethod · 0.95
_onSendMethod · 0.95
_onReceiveMethod · 0.95

Calls 1

putMethod · 0.95

Tested by

no test coverage detected