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

descriptor-flags: eliminate non-blocking flag, and therefore set-flags #125

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

pchickey
Copy link
Contributor

A blocking or non-blocking read/write is a determined by which method is used on a read/write stream created from a file. Each of these stream methods must be implemened for all files. Therefore, it does not make sense to specify non-blocking at the file level.

The set-flags method was only to be used to set or clear the non-blocking flag, so this entire method may now be eliminated.

A blocking or non-blocking read/write is a determined by which method is
used on a read/write stream created from a file. Each of these stream
methods must be implemened for all files. Therefore, it does not make
sense to specify non-blocking at the file level.

The set-flags method was only to be used to set or clear the
non-blocking flag, so this entire method may now be eliminated.
@pchickey pchickey merged commit ba8b5c5 into main Aug 14, 2023
@pchickey pchickey deleted the pch/blocking_is_a_stream_concern branch August 14, 2023 16:29
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