in reply to Re: working with 2 inputsin thread working with 2 inputs
See this previous thread: Non-blocking Reads from Pipe Filehandle