Slide 18
Slide 18 text
int blockingRead(byte[] b, int off, int len, long nanos)
throws IOException {
...
// read, no timeout
configureSocketNonBlockingIfVirtualThread();
n = tryRead(b, off, len);
while (IOStatus.okayToRetry(n) && isOpen()) {
park(Net.POLLIN);
n = tryRead(b, off, len);
}
...