Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

leap seconds #1

Open
moreati opened this issue Jun 4, 2023 · 4 comments
Open

leap seconds #1

moreati opened this issue Jun 4, 2023 · 4 comments

Comments

@moreati
Copy link
Owner

moreati commented Jun 4, 2023

Sources

@moreati
Copy link
Owner Author

moreati commented Jun 22, 2023

The OS uses shared memory mapping to publish leap second tables to all processes, and it can extend that table without killing active processes or rebooting the machine.
-- dotnet/runtime#50263

@moreati
Copy link
Owner Author

moreati commented Apr 21, 2024

@moreati
Copy link
Owner Author

moreati commented Apr 21, 2024

If a package containing the Olson tz database weer used as a source of current leap seconds then I think the update frequency of that package would matter. E.g. if pytz contained leapsecond data, and was used as a source then a release atleast every 6 months would be needed, to validate the TTL field - even if no leapsecond change occurs.

@moreati
Copy link
Owner Author

moreati commented Apr 21, 2024

On Linux adjtimex() et al can report TAI offset known to the kernel. On macOS ntp_gettime() may do the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant