Shared memory
Ken Brown
kbrown@cornell.edu
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
fhandler_socket_unix.cc, 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?
Thanks.
Ken
More information about the Cygwin-developers
mailing list