in reply to Re: Re: Data copied with fork() -> how to access true data?
in thread Data copied with fork() -> how to access true data?

If you're reading data immediately from STDIN, you might take a look at the select documentation for info about non-blocking IO - so you can do something useful while waiting for user input.

Replies are listed 'Best First'.
Re: Re: Re: Re: Data copied with fork() -> how to access true data?
by muba (Priest) on May 31, 2004 at 22:12 UTC
    This looks most interesting! Although the select documentation only mentions how to block (not how to unblock) a FH. It would be logical if unblocking is just the opposite, but I don't quite understand the $rin, $rout, $win, $wout bit things. Could you maybe give some more clues?
        This... looks... very... much... like... what... I... am... looking... fot, but it seems not to work with Windows!
        Argh!
        Am I overlooking something? Is there a work-around? Or am I just a lamer, using Windows?