[boulder.pm] unblocked pipes

Amar Vattakandy amar.vattakandy at ia.nsc.com
Wed Aug 2 17:21:57 CDT 2000


Any help on this would be appreciated:

| I have a parent and a child (thru forking) that needs to talk to each
 | other thru a
 | socket pair pipe. Communication works fine, but the problem happens
when
 | I try
 | to read from a pipe that has no data in it. The read, which is like
 |  $readline = <CHILD> ;
 | keeps waiting till the child has some data in it. I know that this is

 | how it is supposed
 | to work, but is there any way I could check whether there is some
data
 | in the pipe
 | before I read the pipe ?
 |
 | Thanx
 | Amar

--

       *********************************
               Amar Salaj V
       National Semiconductor Corporation
              1351 S Sunset St.
              Longmont CO-80501

             Ph   : 303 774 5181
             Fax  : 303 774 5801

       *********************************





More information about the Boulder-pm mailing list