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

refactor(driver): generic SharedFd #247

Merged
merged 1 commit into from
May 2, 2024

Conversation

Berrysoft
Copy link
Member

A SharedFd is generic to hold the original handle type. An OwnedFd is type-erased to support close operations. This PR is the basis of #224 , and will be convenient for AsyncFd in the future.

@Berrysoft Berrysoft added package: driver Related to compio-driver refactor Refactoring existing code labels May 2, 2024
@Berrysoft Berrysoft requested a review from George-Miao May 2, 2024 08:16
@Berrysoft Berrysoft self-assigned this May 2, 2024
@Berrysoft Berrysoft marked this pull request as draft May 2, 2024 08:20
@Berrysoft Berrysoft marked this pull request as ready for review May 2, 2024 08:27
Copy link
Member

@George-Miao George-Miao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Berrysoft Berrysoft merged commit 62a3a9e into compio-rs:master May 2, 2024
28 of 29 checks passed
@Berrysoft Berrysoft deleted the refactor/shared-fd-generic branch May 2, 2024 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: driver Related to compio-driver refactor Refactoring existing code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants