Shared memory

Ken Brown
Thu Feb 27 20:35:00 GMT 2020

Hi Corinna,

I think I see how to enable FIFOs to be opened for reading multiple times, by 
using shared memory to maintain data needed by all readers.

To this end I'm trying to imitate some of what you did in, and I find I'm confused about the use of reopen_shmem. 
When this is called by fhandler_socket_unix::dup, shouldn't the call actually be

   fhs->reopen_shmem () ?

It's the new fhandler that needs to open the shared memory, isn't it?  Or am I 
misunderstanding something?



More information about the Cygwin-developers mailing list