can't share fifo between 32-bit and 64-bit Cygwins

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Mon Jun 30 23:18:00 GMT 2014


On Mon, Jun 30, 2014 at 10:08:24PM +0200, Marco Atzeri wrote:
>On 30/06/2014 20:04, Nellis, Kenneth wrote:
>> Just thought I'd share an observation I found interesting.
>> Not a problem for me, so not asking for any particular response.
>>
>> If I create a named pipe (mkfifo), as long as I write to and read from using
>> either 32-bit Cygwin or 64-bit Cygwin, all works fine, but if I write with either
>> one and read with the other, both processes hang.
>>
>> It doesn't seem to matter whether the fifo was created under 32-bit or
>> 64-bit, the problem (if I may be so bold as to call it that) seems only with
>> mixing 32-/64-bit versions doing I/O to/from it.
>>
>> FWIW, using 32-bit version 1.7.29-2 and 64-bit version 1.7.30-1.
>
>why do you expect such things to work ?
>You have two separate simulation layers independent from each other.
>Nothing is in place to pass the data from the 32 bit layer to the 64 layer.

Right.  Fifos, signals, ptys - all of them are distinct entities that won't
work between 32 bit and 64 bit or even between different Cygwin installations
on the same system.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list