RFR: 8325028: (ch) Pipe channels should lazily set socket to non-blocking mode on first use by virtual thread
Brian Burkhalter
bpb at openjdk.org
Wed Feb 7 18:14:54 UTC 2024
On Wed, 31 Jan 2024 09:03:14 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> The Unix implementation of the Pipe source/sink channels eagerly configures the underlying socket to be non-blocking in case the pipe is used by a virtual thread. It can be done lazily, as done with the network channels. No changes to the semantics of the APIs, and well tested by the existing tests.
Looks okay.
-------------
Marked as reviewed by bpb (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/17648#pullrequestreview-1868483145
More information about the nio-dev
mailing list