diff options
author | R David Murray <rdmurray@bitdance.com> | 2013-12-20 22:23:57 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2013-12-20 22:23:57 (GMT) |
commit | ac186221267a1e63de017fa96d61e181632a3a60 (patch) | |
tree | b310200662c136a52167e7822350f0f92dfeb3cc /Doc/library/multiprocessing.rst | |
parent | 748bad2cd01f107f2efdc8352915e7cee57b6077 (diff) | |
download | cpython-ac186221267a1e63de017fa96d61e181632a3a60.zip cpython-ac186221267a1e63de017fa96d61e181632a3a60.tar.gz cpython-ac186221267a1e63de017fa96d61e181632a3a60.tar.bz2 |
Add links to discussion of multiprocessing spawn/forkserver feature.
Diffstat (limited to 'Doc/library/multiprocessing.rst')
-rw-r--r-- | Doc/library/multiprocessing.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index 2c44dc9..a8872e7 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -101,6 +101,8 @@ necessary, see :ref:`multiprocessing-programming`. Contexts and start methods ~~~~~~~~~~~~~~~~~~~~~~~~~~ +.. _multiprocessing-start-methods: + Depending on the platform, :mod:`multiprocessing` supports three ways to start a process. These *start methods* are @@ -147,7 +149,7 @@ there may some "leaked" semaphores. (Unlinking the named semaphores is a serious matter since the system allows only a limited number, and they will not be automatically unlinked until the next reboot.) -To select the a start method you use the :func:`set_start_method` in +To select a start method you use the :func:`set_start_method` in the ``if __name__ == '__main__'`` clause of the main module. For example:: |