• Pablo Galindo's avatar
    bpo-33613, test_semaphore_tracker_sigint: fix race condition (#7850) · ec74d187
    Pablo Galindo yazdı
    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.
    ec74d187
Adı
Son kayıt (commit)
Son güncelleme
..
next Loading commit data...
3.5.0.rst Loading commit data...
3.5.0a1.rst Loading commit data...
3.5.0a2.rst Loading commit data...
3.5.0a3.rst Loading commit data...
3.5.0a4.rst Loading commit data...
3.5.0b1.rst Loading commit data...
3.5.0b2.rst Loading commit data...
3.5.0b3.rst Loading commit data...
3.5.0b4.rst Loading commit data...
3.5.0rc1.rst Loading commit data...
3.5.0rc2.rst Loading commit data...
3.5.0rc3.rst Loading commit data...
3.5.0rc4.rst Loading commit data...
3.5.1.rst Loading commit data...
3.5.1rc1.rst Loading commit data...
3.5.2.rst Loading commit data...
3.5.2rc1.rst Loading commit data...
3.5.3.rst Loading commit data...
3.5.3rc1.rst Loading commit data...
3.5.4.rst Loading commit data...
3.5.4rc1.rst Loading commit data...
3.5.5.rst Loading commit data...
3.5.5rc1.rst Loading commit data...
3.6.0.rst Loading commit data...
3.6.0a1.rst Loading commit data...
3.6.0a2.rst Loading commit data...
3.6.0a3.rst Loading commit data...
3.6.0a4.rst Loading commit data...
3.6.0b1.rst Loading commit data...
3.6.0b2.rst Loading commit data...
3.6.0b3.rst Loading commit data...
3.6.0b4.rst Loading commit data...
3.6.0rc1.rst Loading commit data...
3.6.0rc2.rst Loading commit data...
3.6.1.rst Loading commit data...
3.6.1rc1.rst Loading commit data...
3.6.2.rst Loading commit data...
3.6.2rc1.rst Loading commit data...
3.6.2rc2.rst Loading commit data...
3.6.3.rst Loading commit data...
3.6.3rc1.rst Loading commit data...
3.6.4.rst Loading commit data...
3.6.4rc1.rst Loading commit data...
3.6.5.rst Loading commit data...
3.6.5rc1.rst Loading commit data...
3.6.6.rst Loading commit data...
3.6.6rc1.rst Loading commit data...
3.7.0.rst Loading commit data...
3.7.0a1.rst Loading commit data...
3.7.0a2.rst Loading commit data...
3.7.0a3.rst Loading commit data...
3.7.0a4.rst Loading commit data...
3.7.0b1.rst Loading commit data...
3.7.0b2.rst Loading commit data...
3.7.0b3.rst Loading commit data...
3.7.0b4.rst Loading commit data...
3.7.0b5.rst Loading commit data...
3.7.0rc1.rst Loading commit data...