You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/11/23 09:52:56 UTC
svn commit: r883283 -
/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/PipeIoMode.java
Author: mturk
Date: Mon Nov 23 08:52:56 2009
New Revision: 883283
URL: http://svn.apache.org/viewvc?rev=883283&view=rev
Log:
Describe pipe modes
Modified:
commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/PipeIoMode.java
Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/PipeIoMode.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/PipeIoMode.java?rev=883283&r1=883282&r2=883283&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/PipeIoMode.java (original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/io/PipeIoMode.java Mon Nov 23 08:52:56 2009
@@ -28,9 +28,15 @@
FULL_BLOCK( 1),
/** Make read/write non blocking. */
FULL_NONBLOCK( 2),
- /** Block the parent while accessing the {@code Pipe}. */
+ /** Block the parent while accessing the {@code Pipe}.
+ * This corresponds to blocking the read side of the pipe.
+ * If set the write side of the pipe in nonblocking.
+ */
PARENT_BLOCK( 3),
- /** Block the child while accessing the {@code Pipe}. */
+ /** Block the child while accessing the {@code Pipe}.
+ * This corresponds to blocking the write side of the pipe.
+ * If set the read side of the pipe in nonblocking.
+ */
CHILD_BLOCK( 4);