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 methods taking file descriptor as OwnedFd. #641

Merged
merged 2 commits into from
May 7, 2024
Merged

Conversation

qwandor
Copy link
Contributor

@qwandor qwandor commented Nov 29, 2023

The OwnedFd type confers ownership of the file descriptor, so these can be safe methods rather than relying on the caller not to use the file descriptor anywhere else after making the call.

The OwnedFd type confers ownership of the file descriptor, so these can
be safe methods rather than relying on the caller not to use the file
descriptor anywhere else after making the call.

Signed-off-by: Andrew Walbran <[email protected]>
@qwandor
Copy link
Contributor Author

qwandor commented Dec 1, 2023

Thanks for the review! Can you merge the PR too? The CI failures are all existing issues as far as I can see, not changed by this PR.

@BusyJay BusyJay merged commit 3c2dbca into tikv:master May 7, 2024
8 of 9 checks passed
@BusyJay
Copy link
Member

BusyJay commented May 7, 2024

Thanks!

@qwandor qwandor deleted the ownedfd branch May 7, 2024 08:39
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.

2 participants