MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / _MainProcess

Class _MainProcess

tools/python-3.11.9-amd64/Lib/multiprocessing/process.py:397–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395#
396
397class _MainProcess(BaseProcess):
398
399 def __init__(self):
400 self._identity = ()
401 self._name = 'MainProcess'
402 self._parent_pid = None
403 self._popen = None
404 self._closed = False
405 self._config = {'authkey': AuthenticationString(os.urandom(32)),
406 'semprefix': '/mp'}
407 # Note that some versions of FreeBSD only allow named
408 # semaphores to have names of up to 14 characters. Therefore
409 # we choose a short prefix.
410 #
411 # On MacOSX in a sandbox it may be necessary to use a
412 # different prefix -- see #19478.
413 #
414 # Everything in self._config will be inherited by descendant
415 # processes.
416
417 def close(self):
418 pass
419
420
421_parent_process = None

Callers 1

process.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected