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

Method sentinel

Lib/multiprocessing/process.py:255–264  ·  view source on GitHub ↗

Return a file descriptor (Unix) or handle (Windows) suitable for waiting for process termination.

(self)

Source from the content-addressed store, hash-verified

253
254 @property
255 def sentinel(self):
256 '''
257 Return a file descriptor (Unix) or handle (Windows) suitable for
258 waiting for process termination.
259 '''
260 self._check_closed()
261 try:
262 return self._sentinel
263 except AttributeError:
264 raise ValueError("process not started") from None
265
266 def __repr__(self):
267 exitcode = None

Callers

nothing calls this directly

Calls 1

_check_closedMethod · 0.95

Tested by

no test coverage detected