X-Recipient: archive-cygwin@delorie.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@cygwin.com
From: Matthias Meyer <matthias.meyer@gmx.li>
Subject:  read -t hangs sometimes with pipes
Date:  Sat, 20 Jun 2009 21:14:08 +0200
Lines: 22
Message-ID:  <h1jce2$n9g$1@ger.gmane.org>
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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

