< prev index next >
src/java.base/share/classes/sun/nio/ch/IOUtil.java
Print this page
rev 49271 : [mq]: selector-cleanup
*** 395,405 ****
/**
* Returns two file descriptors for a pipe encoded in a long.
* The read end of the pipe is returned in the high 32 bits,
* while the write end is returned in the low 32 bits.
*/
! static native long makePipe(boolean blocking);
static native boolean drain(int fd) throws IOException;
public static native void configureBlocking(FileDescriptor fd,
boolean blocking)
--- 395,407 ----
/**
* Returns two file descriptors for a pipe encoded in a long.
* The read end of the pipe is returned in the high 32 bits,
* while the write end is returned in the low 32 bits.
*/
! static native long makePipe(boolean blocking) throws IOException;
!
! static native int write1(int fd, byte b) throws IOException;
static native boolean drain(int fd) throws IOException;
public static native void configureBlocking(FileDescriptor fd,
boolean blocking)
< prev index next >