X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Matthias Meyer Subject: read -t hangs sometimes with pipes Date: Sat, 20 Jun 2009 21:14:08 +0200 Lines: 22 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit User-Agent: KNode/0.10.9 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi, Sometimes pipes, created with mknod, seems not to be work fully correct. Most of the time I can do: mknod /var/run/CONT p read -t 2 signal < /var/run/CONT. After 2 seconds I receive a timeout and the read returns. But sometimes the read will wait forever. And also if I write something to /var/run/CONT, the read did not read it. Furthermore I can not "reset" anything. I have to reboot the workstation thats pipes works again. Is there any posibility to reset something that pipes will work again without reboot? Thanks Matthias -- Don't Panic -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/