Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.

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

Merged
pchickey merged 1 commit intomainfrom
pch/blocking_is_a_stream_concern
Aug 14, 2023
Merged

descriptor-flags: eliminate non-blocking flag, and therefore set-flags#125
pchickey merged 1 commit intomainfrom
pch/blocking_is_a_stream_concern

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants