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

Make SQLite busy back-off logic portable #10399

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

Ericson2314
Copy link
Member

Motivation

Use C++ standard library not Unix functions for sleeping and randomness.

Context

Suggested by @edolstra in #8901 (comment)

Priorities and Process

Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

Use C++ standard library not Unix functions for sleeping and randomness.

Suggested by @edolstra in NixOS#8901 (comment)
@Ericson2314 Ericson2314 added windows portability Supporting more platforms labels Apr 4, 2024
@Ericson2314 Ericson2314 mentioned this pull request Apr 4, 2024
8 tasks
@Ericson2314 Ericson2314 merged commit 6b889e0 into NixOS:master Apr 4, 2024
10 checks passed
@thufschmitt
Copy link
Member

@Ericson2314 Ericson2314 merged commit 6b889e0 into NixOS:master Apr 4, 2024

🙈

@Ericson2314 Ericson2314 deleted the portable-sleep branch April 4, 2024 18:47
@Ericson2314
Copy link
Member Author

I did the self-mege because I did the exact thing @edolstra requested in the other thread. It felt like he was the author and I was the reviewer --- I checked that this is in fact more portable.

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

Successfully merging this pull request may close these issues.

3 participants