This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin1.dll 1.5.19: race condition & deadlock with fifos


Barry Kelly wrote:
On Sun, 11 Jun 2006 18:23:22 -0700, you wrote:

Barry Kelly wrote:

This code, without a delay, causes a deadlock and both active spawned
bash processes (the forked one reading from the fifo and the
backgrounded one) need to be killed explicitly:

---8<---
~/test-fifo$ rm fifo
~/test-fifo$ mkfifo fifo
~/test-fifo$ ((echo foo >fifo)&); echo Read: $(<fifo)
--->8---
This works fine for me, no hang -- but I use a recent CVS build.  Have
you tried the latest shapshot?

I have just tried:


        DLL version: 1.5.20
...
        Build date: Sun Jun 4 16:35:33 EDT 2006
        Snapshot date: 20060604-16:33:54

And I find it has fixed the problem. Thanks!

Is there any indication as to how long before 1.5.20 will be fully
released? I don't want to risk running under a CVS snapshot except for
this test.


If you check the email archives, you will see a number of calls for testing of the snapshots in preparation for 1.5.20. From that you can surmise that any recent snapshot is likely to be pretty close to the eventual released version. Keep an eye out here for more details.


-- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]