summaryrefslogtreecommitdiff
path: root/examples/OS
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-05-07 04:30:16 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-05-07 04:30:16 +0000
commit2cb0eeb6e964aafb29157683ced7fc7cdd09728f (patch)
tree350f3db7ba48e705f7b2ebd7fc725663dbcfc460 /examples/OS
parentee6bf58acac1fb154b0a2c9c56929506c40e826d (diff)
downloadATCD-2cb0eeb6e964aafb29157683ced7fc7cdd09728f.tar.gz
*** empty log message ***
Diffstat (limited to 'examples/OS')
-rw-r--r--examples/OS/Process/imore.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/OS/Process/imore.cpp b/examples/OS/Process/imore.cpp
index 6c01734dbc6..09c841e2569 100644
--- a/examples/OS/Process/imore.cpp
+++ b/examples/OS/Process/imore.cpp
@@ -92,12 +92,14 @@ setup_named_pipes (ACE_Process_Options &opt)
// Create a unique temporary name for named pipe.
char *rendezvous = ACE_OS::tempnam (rendezvous_dir,
rendezvous_pfx);
- if (rendezvous == NULL) // out of memory?
+
+ // Out of memory?
+ if (rendezvous == NULL)
return -1;
- // Alright, this is indeed strange. Named pipes are meant to
- // be used for unrelated processes. Because of the constraints
- // in ACE_Process, I have to pre-open the named pipes here.
+ // Alright, this is indeed strange. Named pipes are meant to be
+ // used for unrelated processes. Because of the constraints in
+ // ACE_Process, I have to pre-open the named pipes here.
ACE_FIFO_Recv rfifo; // read end fifo.
ACE_FIFO_Send wfifo; // write end fifo.