Skip to content

Use nonblocking IO for open #1228

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

Merged
merged 1 commit into from
Mar 27, 2025
Merged

Conversation

parkera
Copy link
Contributor

@parkera parkera commented Mar 27, 2025

Use nonblocking for open, so if the file is non-regular then we can proceed past this call without blocking. A later check will verify the kind of file with fstat.

@parkera parkera requested a review from jmschonfeld March 27, 2025 18:34
@parkera
Copy link
Contributor Author

parkera commented Mar 27, 2025

@swift-ci test

@parkera parkera merged commit 0597595 into swiftlang:main Mar 27, 2025
2 of 3 checks passed
@parkera parkera deleted the parkera/data_noblock branch March 27, 2025 19:57
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