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

Method sentinel

Lib/multiprocessing/process.py:248–257  ·  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

246
247 @property
248 def sentinel(self):
249 '''
250 Return a file descriptor (Unix) or handle (Windows) suitable for
251 waiting for process termination.
252 '''
253 self._check_closed()
254 try:
255 return self._sentinel
256 except AttributeError:
257 raise ValueError("process not started") from None
258
259 def __repr__(self):
260 exitcode = None

Callers

nothing calls this directly

Calls 1

_check_closedMethod · 0.95

Tested by

no test coverage detected