mirror of
https://github.com/python/cpython.git
synced 2025-12-04 16:43:27 +00:00
Fix "seperate".
This commit is contained in:
parent
792c076cce
commit
fb1720b0f5
2 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ The :mod:`concurrent.futures` module provides a high-level interface for
|
||||||
asynchronously executing callables.
|
asynchronously executing callables.
|
||||||
|
|
||||||
The asynchronous execution can be be performed with threads, using
|
The asynchronous execution can be be performed with threads, using
|
||||||
:class:`ThreadPoolExecutor`, or seperate processes, using
|
:class:`ThreadPoolExecutor`, or separate processes, using
|
||||||
:class:`ProcessPoolExecutor`. Both implement the same interface, which is
|
:class:`ProcessPoolExecutor`. Both implement the same interface, which is
|
||||||
defined by the abstract :class:`Executor` class.
|
defined by the abstract :class:`Executor` class.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -118,7 +118,7 @@ class _CallItem(object):
|
||||||
def _process_worker(call_queue, result_queue, shutdown):
|
def _process_worker(call_queue, result_queue, shutdown):
|
||||||
"""Evaluates calls from call_queue and places the results in result_queue.
|
"""Evaluates calls from call_queue and places the results in result_queue.
|
||||||
|
|
||||||
This worker is run in a seperate process.
|
This worker is run in a separate process.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
call_queue: A multiprocessing.Queue of _CallItems that will be read and
|
call_queue: A multiprocessing.Queue of _CallItems that will be read and
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue