@@ -136,9 +136,11 @@ to start a process. These *start methods* are
136136 Available on Unix platforms which support passing file descriptors
137137 over Unix pipes.
138138
139- Before Python 3.4 *fork * was the only option available on Unix. Also,
140- prior to Python 3.4, child processes would inherit all the parents
141- inheritable handles on Windows.
139+ .. versionchanged :: 3.4
140+ *span * added on all unix platforms, and *forkserver * added for
141+ some unix platforms.
142+ Child processes no longer inherit all of the parents inheritable
143+ handles on Windows.
142144
143145On Unix using the *spawn * or *forkserver * start methods will also
144146start a *semaphore tracker * process which tracks the unlinked named
@@ -1853,25 +1855,30 @@ with the :class:`Pool` class.
18531855 callbacks and has a parallel map implementation.
18541856
18551857 *processes * is the number of worker processes to use. If *processes * is
1856- ``None `` then the number returned by :func: `os.cpu_count ` is used. If
1857- *initializer * is not ``None `` then each worker process will call
1858+ ``None `` then the number returned by :func: `os.cpu_count ` is used.
1859+
1860+ If *initializer * is not ``None `` then each worker process will call
18581861 ``initializer(*initargs) `` when it starts.
18591862
1863+ *maxtasksperchild * is the number of tasks a worker process can complete
1864+ before it will exit and be replaced with a fresh worker process, to enable
1865+ unused resources to be freed. The default *maxtasksperchild * is None, which
1866+ means worker processes will live as long as the pool.
1867+
1868+ *context * can be used to specify the context used for starting
1869+ the worker processes. Usually a pool is created using the
1870+ function :func: `multiprocessing.Pool ` or the :meth: `Pool ` method
1871+ of a context object. In both cases *context * is set
1872+ appropriately.
1873+
18601874 Note that the methods of the pool object should only be called by
18611875 the process which created the pool.
18621876
18631877 .. versionadded :: 3.2
1864- *maxtasksperchild * is the number of tasks a worker process can complete
1865- before it will exit and be replaced with a fresh worker process, to enable
1866- unused resources to be freed. The default *maxtasksperchild * is None, which
1867- means worker processes will live as long as the pool.
1878+ *maxtasksperchild *
18681879
18691880 .. versionadded :: 3.4
1870- *context * can be used to specify the context used for starting
1871- the worker processes. Usually a pool is created using the
1872- function :func: `multiprocessing.Pool ` or the :meth: `Pool ` method
1873- of a context object. In both cases *context * is set
1874- appropriately.
1881+ *context *
18751882
18761883 .. note ::
18771884
0 commit comments