This is the mail archive of the cygwin-developers 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: 1.7.2 release?


On Tue, Jan 26, 2010 at 08:49:46PM +0100, Corinna Vinschen wrote:
>On Jan 26 14:36, Christopher Faylor wrote:
>> On Tue, Jan 26, 2010 at 08:27:54PM +0100, Corinna Vinschen wrote:
>> >On Jan 26 14:10, Christopher Faylor wrote:
>> >> On Tue, Jan 26, 2010 at 07:02:13PM +0100, Corinna Vinschen wrote:
>> >> >- $ echo LOG:bananas | tee >(grep "^LOG:" > file.txt)
>> >> >  LOG:bananas
>> >> >  tee: /dev/fd/63: Bad file descriptor
>> >> >
>> >> >  Is that a fifo problem?  If so, it might not be overly pressing since
>> >> >  it would be an extension rather than a fix, wouldn't it?
>> >> 
>> >> I have been tinkering with the fifo problems.  There is a select()
>> >> problem right now that I haven't been able to fix.
>> >> 
>> >> I completely redesigned it a couple of weekends ago and made it much
>> >> much worse.  So I'm making progress.
>> >> 
>> >> If it comes down to it, I guess this wouldn't be a regression but it
>> >> would be nice to have the fifo stuff working better.  I'm beginning to
>> >> think that equating named pipes with fifos might not have been a good
>> >> idea.  It seems like there's obvious linkage between the two but the
>> >> underlying model really is different.
>> >
>> >Would sockets under the hood work better for fifos, just as for AF_UNIX
>> >sockets?
>> 
>> I was looking at sockets just last weekend.  I cycle through regular
>> pipes, named pipes, mailslots, and sockets every couple of weeks,
>> looking for something that I missed.  I can't remember why I rejected
>> sockets now.  Time to cycle through again.
>> 
>> If I could get by with a cygwin-only solution this would be much easier.
>> I'd just implement it all using shared memory and mutexes.  But, then
>> someone would try to use a fifo as stdin for a windows program and SPLAT.
>
>What about "FIFOs only work with Cygwin processes by design"?  File
>locking doesn't work with native processes either.  As do not XSI IPC,
>POSIX message queues or POSIX semaphores.

If you're ok with that, I'll consider ripping out everything and
starting over - but not for 1.7.2.

So, anyway, no fifo improvements in 1.7.2.  Maybe 1.7.3 can be a
fifo-only release.

The other thing that I wanted to do was fix some signal handling problems
but those can wait too.

cgf


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