Comment on Zig’s Io.Threaded is neatparentComments−Sharlin20dThe article seems to talk about how `Thread.interrupt` works with synchronous IO, rather than the async IO machinery of `java.nio`. So I'd say the article is inaccurate or at least incomplete.−lowbloodsugar20dNIO can be blocking or non-blocking. Indeed you can switch between the two on a single channel.
Comments
The article seems to talk about how `Thread.interrupt` works with synchronous IO, rather than the async IO machinery of `java.nio`. So I'd say the article is inaccurate or at least incomplete.
NIO can be blocking or non-blocking. Indeed you can switch between the two on a single channel.