read -t hangs sometimes with pipes

Matthias Meyer matthias.meyer@gmx.li
Sat Jun 20 21:23:00 GMT 2009


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/



More information about the Cygwin mailing list