• Kirill Smelkov's avatar
    libgolang/thread: Don't ignore PyThread_acquire_lock return · 38f1900b
    Kirill Smelkov authored
    With WAIT_LOCK flag and correct usage PyThread_acquire_lock should never
    fail, but let's be cautious and verify that it indeed succeeds to acquire
    the lock.
    
    The rest of external functions called by thread runtime either have void
    return, or their return is checked.
    38f1900b
_runtime_thread.pyx 7.52 KB