diff options
author | Victor Stinner <vstinner@python.org> | 2024-05-04 09:39:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-04 09:39:58 +0200 |
commit | 0b7814e0b638631fa2f5c81bcbab7b94064948d7 (patch) | |
tree | 00dd17c456b2fa165ff4c29cdd948bea481f9da6 /Python/pythonrun.c | |
parent | 42dc5b4ace39a3983cd9853719527f4724693adc (diff) | |
download | cpython-0b7814e0b638631fa2f5c81bcbab7b94064948d7.tar.gz cpython-0b7814e0b638631fa2f5c81bcbab7b94064948d7.zip |
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.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions