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

Add Flock::relock #2407

Merged
merged 1 commit into from
May 16, 2024
Merged

Add Flock::relock #2407

merged 1 commit into from
May 16, 2024

Conversation

asomers
Copy link
Member

@asomers asomers commented May 16, 2024

It can upgrade or downgrade a lock.

Fixes #2356

What does this PR do

Allows flock locks to be changed.

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
  • A change log has been added if this PR modifies nix's API

It can upgrade or downgrade a lock.

Fixes nix-rust#2356
@asomers asomers requested a review from SteveLauC May 16, 2024 03:18
@SteveLauC SteveLauC added this pull request to the merge queue May 16, 2024
Merged via the queue into nix-rust:master with commit c5af4ad May 16, 2024
36 checks passed
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

Successfully merging this pull request may close these issues.

Replacement nix::fcntl::Flock does not cover all use cases for deprecated nix::fcntl::flock
2 participants