SIGN IN SIGN UP

gh-110850: Use _PyDeadline_Get() in EnterNonRecursiveMutex() (#118556)

Use _PyDeadline_Init() and _PyDeadline_Get() in
EnterNonRecursiveMutex() of thread_nt.h.

_PyDeadline_Get() uses the monotonic clock which is now the same as
the perf counter clock on all platforms. So this change does not
cause any behavior change. It just reuses existing helper functions.
V
Victor Stinner committed
0b7814e0b638631fa2f5c81bcbab7b94064948d7
Parent: 42dc5b4
Committed by GitHub <noreply@github.com> on 5/4/2024, 7:39:58 AM