Skip to content
Prev Previous commit
Next Next commit
Merge branch 'main' into disallow-dynamic-process-spawn-with-fork-bug…
…fix-only
  • Loading branch information
gpshead authored Apr 17, 2022
commit 2ebd47ab629723821485fbacad522842cba9bdf8
1 change: 1 addition & 0 deletions Lib/test/test_concurrent_futures.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,7 @@ def acquire_lock(lock):
expected_num_processes = self.worker_count
else:
expected_num_processes = 3

sem = mp_context.Semaphore(0)
for _ in range(3):
self.executor.submit(acquire_lock, sem)
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.