delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/20/17:19:57

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 <matthias DOT meyer AT gmx DOT 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
User-Agent: KNode/0.10.9
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019