Re: select() and named pipes

2010-02-16 Thread Enrico Forestieri
On Mon, Feb 15, 2010 at 10:16:55PM -0500, Christopher Faylor wrote: > On Tue, Feb 16, 2010 at 02:20:55AM +0100, Enrico Forestieri wrote: > >On Sun, Feb 14, 2010 at 08:54:27PM -0500, Christopher Faylor wrote: > > > >> I just checked in YA in my series of attempts to get this working right. > >> It

Re: select() and named pipes

2010-02-15 Thread Christopher Faylor
On Tue, Feb 16, 2010 at 02:20:55AM +0100, Enrico Forestieri wrote: >On Sun, Feb 14, 2010 at 08:54:27PM -0500, Christopher Faylor wrote: > >> I just checked in YA in my series of attempts to get this working right. >> It will behave marginally better now but there are still problems if you >> attemp

Re: select() and named pipes

2010-02-15 Thread Enrico Forestieri
On Sun, Feb 14, 2010 at 08:54:27PM -0500, Christopher Faylor wrote: > I just checked in YA in my series of attempts to get this working right. > It will behave marginally better now but there are still problems if you > attempt to write to a fifo before anything is reading it and then try to > do

Re: select() and named pipes

2010-02-14 Thread Christopher Faylor
t;>> > On Tue, Dec 22, 2009 at 11:43:09PM +0100, Enrico Forestieri wrote: >>> > >I am experiencing a problem with select() and named pipes in cygwin >>> > >1.7. The attached test case segfaults on the select() call, but works >>> > >fine with bot

Re: select() and named pipes

2010-01-03 Thread Christopher Faylor
wrote: >> > >I am experiencing a problem with select() and named pipes in cygwin >> > >1.7. The attached test case segfaults on the select() call, but works >> > >fine with both cygwin 1.5 and linux. >> > >> > Thanks for the test case. This shoul

Re: select() and named pipes

2010-01-03 Thread Enrico Forestieri
On Wed, Dec 23, 2009 at 03:12:19AM +0100, Enrico Forestieri wrote: > On Tue, Dec 22, 2009 at 07:37:14PM -0500, Christopher Faylor wrote: > > On Tue, Dec 22, 2009 at 11:43:09PM +0100, Enrico Forestieri wrote: > > >I am experiencing a problem with select() and named pipes in cyg

Re: select() and named pipes

2009-12-22 Thread Enrico Forestieri
On Tue, Dec 22, 2009 at 07:37:14PM -0500, Christopher Faylor wrote: > On Tue, Dec 22, 2009 at 11:43:09PM +0100, Enrico Forestieri wrote: > >I am experiencing a problem with select() and named pipes in cygwin > >1.7. The attached test case segfaults on the select() call, but wor

Re: select() and named pipes

2009-12-22 Thread Christopher Faylor
On Tue, Dec 22, 2009 at 11:43:09PM +0100, Enrico Forestieri wrote: >I am experiencing a problem with select() and named pipes in cygwin >1.7. The attached test case segfaults on the select() call, but works >fine with both cygwin 1.5 and linux. Thanks for the test case. This should be

Re: select() and named pipes

2009-12-22 Thread Dave Korn
Enrico Forestieri wrote: > I am experiencing a problem with select() and named pipes in cygwin 1.7. > The attached test case segfaults on the select() call, but works fine > with both cygwin 1.5 and linux. Confirmed. It appears that start_thread_pipe() is called for both pipes and f

select() and named pipes

2009-12-22 Thread Enrico Forestieri
I am experiencing a problem with select() and named pipes in cygwin 1.7. The attached test case segfaults on the select() call, but works fine with both cygwin 1.5 and linux. -- Enrico #include #include #include #include #include #include #include #include #define FIFONAME "/tmp