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

feat(fs): AsyncFd #248

Merged
merged 3 commits into from
May 13, 2024
Merged

feat(fs): AsyncFd #248

merged 3 commits into from
May 13, 2024

Conversation

Berrysoft
Copy link
Member

It is especially important to use AsyncFd in stdio on Unix, because the old implementation uses ManuallyDrop, which is a potential leak because Sender and Receiver started to use SharedFd inside after #230 .

NamedPipeServer is also changed to use AsyncFd only to check if there are possible bugs on Windows.

@Berrysoft Berrysoft added bug Something isn't working enhancement New feature or request package: fs Related to compio-fs labels May 9, 2024
@Berrysoft Berrysoft requested a review from George-Miao May 9, 2024 10:06
@Berrysoft Berrysoft self-assigned this May 9, 2024
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

@George-Miao George-Miao merged commit 40c7a3b into compio-rs:master May 13, 2024
29 checks passed
@Berrysoft Berrysoft deleted the dev/async-fd branch May 13, 2024 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request package: fs Related to compio-fs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants