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