cpython/Lib/multiprocessing
Pablo Galindo ec74d187f5 bpo-33613, test_semaphore_tracker_sigint: fix race condition (#7850)
Fail `test_semaphore_tracker_sigint` if no warnings are expected and one is received.

Fix race condition when the child receives SIGINT before it can register signal handlers for it.

The race condition occurs when the parent calls
`_semaphore_tracker.ensure_running()` (which in turn spawns the
semaphore_tracker using `_posixsubprocess.fork_exec`), the child
registers the signal handlers and the parent tries to kill the child.
What seem to happen is that in some slow systems, the parent sends the
signal to kill the child before the child protects against the signal.
2018-09-04 10:53:54 +02:00
..
dummy bpo-5001: More-informative multiprocessing error messages (#3079) 2017-08-30 00:52:18 +02:00
__init__.py Simplify __all__ in multiprocessing (GH-6856) 2018-07-11 19:22:28 +09:00
connection.py bpo-34054: multiprocessing uses time.monotonic() (GH-8118) 2018-07-06 13:51:52 +02:00
context.py Simplify __all__ in multiprocessing (GH-6856) 2018-07-11 19:22:28 +09:00
forkserver.py bpo-31308: If multiprocessing's forkserver dies, launch it again when necessary (#3246) 2017-11-03 13:34:22 +01:00
heap.py bpo-32759: Free unused arenas in multiprocessing.heap (GH-5827) 2018-04-09 17:37:55 +02:00
managers.py bpo-34054: multiprocessing uses time.monotonic() (GH-8118) 2018-07-06 13:51:52 +02:00
pool.py bpo-32576: use queue.SimpleQueue in critical places (#5216) 2018-01-18 10:38:03 +01:00
popen_fork.py bpo-31804: Fix multiprocessing.Process with broken standard streams (#6079) 2018-03-11 19:21:38 +01:00
popen_forkserver.py
popen_spawn_posix.py
popen_spawn_win32.py bpo-33929: multiprocessing: fix handle leak on race condition (GH-7921) 2018-06-27 11:40:24 +02:00
process.py bpo-31804: Fix multiprocessing.Process with broken standard streams (#6079) 2018-03-11 19:21:38 +01:00
queues.py bpo-34054: multiprocessing uses time.monotonic() (GH-8118) 2018-07-06 13:51:52 +02:00
reduction.py bpo-33929: multiprocessing: fix handle leak on race condition (GH-7921) 2018-06-27 11:40:24 +02:00
resource_sharer.py bpo-33332: Add signal.valid_signals() (GH-6581) 2018-05-04 13:00:50 +02:00
semaphore_tracker.py bpo-33613, test_semaphore_tracker_sigint: fix race condition (#7850) 2018-09-04 10:53:54 +02:00
sharedctypes.py bpo-32157: Removed explicit quotes around %r and {!r}. (#4582) 2017-11-28 22:54:42 +02:00
spawn.py bpo-33929: Fix regression in spawn_main() (#7962) 2018-06-27 15:18:39 +02:00
synchronize.py bpo-34054: multiprocessing uses time.monotonic() (GH-8118) 2018-07-06 13:51:52 +02:00
util.py bpo-31804: Fix multiprocessing.Process with broken standard streams (#6079) 2018-03-11 19:21:38 +01:00