Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Revert b3488e8, add a comment instead
  • Loading branch information
AlexWaygood committed Mar 7, 2023
commit 42691384269df165746aa4884d3a7b2f9c33815c
6 changes: 4 additions & 2 deletions Lib/concurrent/futures/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@
from concurrent.futures import _base
import queue
import multiprocessing as mp
import multiprocessing.connection as mp_connection
# This import is required to load the multiprocessing.connection submodule
# so that it can be accessed later as `mp.connection`
import multiprocessing.connection
from multiprocessing.queues import Queue
import threading
import weakref
Expand Down Expand Up @@ -404,7 +406,7 @@ def wait_result_broken_or_wakeup(self):
wakeup_reader = self.thread_wakeup._reader
readers = [result_reader, wakeup_reader]
worker_sentinels = [p.sentinel for p in list(self.processes.values())]
ready = mp_connection.wait(readers + worker_sentinels)
ready = mp.connection.wait(readers + worker_sentinels)

cause = None
is_broken = True
Expand Down