diff options
author | Sam Gross <colesbury@gmail.com> | 2025-02-27 13:27:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-27 13:27:54 (GMT) |
commit | d027787c8d89f59a9f0b1d7cc6972f5e16ffc740 (patch) | |
tree | 1128b31a519ee0a1499fd6085881d5d0a107befd /Python/pythonrun.c | |
parent | 45a24f54af4a65c14cc15fc13d3258726e2fe73b (diff) | |
download | cpython-d027787c8d89f59a9f0b1d7cc6972f5e16ffc740.zip cpython-d027787c8d89f59a9f0b1d7cc6972f5e16ffc740.tar.gz cpython-d027787c8d89f59a9f0b1d7cc6972f5e16ffc740.tar.bz2 |
gh-130421: Fix data race on timebase initialization (gh-130592)
Windows and macOS require precomputing a "timebase" in order to convert
OS timestamps into nanoseconds. Retrieve and compute this value during
runtime initialization to avoid data races when accessing the time.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions