Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b87a56a5
Commit
b87a56a5
authored
May 03, 2011
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in name of private function
parent
a5ac2ce9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
Lib/concurrent/futures/process.py
Lib/concurrent/futures/process.py
+7
-7
No files found.
Lib/concurrent/futures/process.py
View file @
b87a56a5
...
...
@@ -169,12 +169,12 @@ def _add_call_item_to_queue(pending_work_items,
del
pending_work_items
[
work_id
]
continue
def
_queue_mana
n
gement_worker
(
executor_reference
,
processes
,
pending_work_items
,
work_ids_queue
,
call_queue
,
result_queue
):
def
_queue_management_worker
(
executor_reference
,
processes
,
pending_work_items
,
work_ids_queue
,
call_queue
,
result_queue
):
"""Manages the communication between this process and the worker processes.
This function is run in a local thread.
...
...
@@ -302,7 +302,7 @@ class ProcessPoolExecutor(_base.Executor):
q
.
put
(
None
)
if
self
.
_queue_management_thread
is
None
:
self
.
_queue_management_thread
=
threading
.
Thread
(
target
=
_queue_mana
n
gement_worker
,
target
=
_queue_management_worker
,
args
=
(
weakref
.
ref
(
self
,
weakref_cb
),
self
.
_processes
,
self
.
_pending_work_items
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment