Rewriting the FIFO code
Ken Brown
kbrown@cornell.edu
Wed Dec 26 14:01:00 GMT 2018
On 12/26/2018 6:37 AM, Corinna Vinschen wrote:
> On Dec 25 21:14, Ken Brown wrote:
>> On 12/14/2018 8:43 AM, Ken Brown wrote:
>>> I'll write
>>> again when/if I've sorted it out.
>>
>> Hi Corinna,
>>
>> Here's a new start. For now, at least, I'm only trying to accommodate one
>> reader and several writers. Maybe later I'll worry about more than one reader.
>>
>> The attached patch indicates the approach I have in mind. There's much more to
>> do, and I haven't thought about the duplex case yet. And there isn't enough
>> written for me to test it yet, except to make sure it compiles. But I just want
>> to see if you think the approach is reasonable before I continue.
>
> Please go ahead. I'm really excited that you're working on this. FIFOs
> are badly in need of a better approch anyway(*). Turn the code upside
> down, for all it's worth!
Thanks for the encouragement, and Happy Holidays to you too. One question: In
the new AF_UNIX socket code you mostly used NT functions, but the existing FIFO
code uses Win32 functions. Do you prefer NT functions for new code?
Ken
More information about the Cygwin-developers
mailing list