• Benjamin Peterson's avatar
    closes bpo-34004: Skip lock interruption tests on musl. (GH-9224) · 5b10d511
    Benjamin Peterson yazdı
    Returning EINTR from pthread semaphore or lock acquisition is an optional POSIX
    feature. musl does not provide this feature, so some threadsignal tests fail
    when Python is built against it.
    
    There's no good way to test for musl, so we skip if we're on Linux and not using
    glibc pthreads.
    
    Also, hedge in the threading documentation about when we can provide interrupts
    from lock acquisition.
    5b10d511
threading.rst 38.3 KB