Size of fhandler_fifo
Corinna Vinschen
corinna-cygwin@cygwin.com
Mon Nov 9 09:15:29 GMT 2020
On Nov 7 10:19, Ken Brown via Cygwin-developers wrote:
> Hi Corinna,
>
> This is a followup to your question on IRC about why fhandler_fifo is so
> big. The main reason is the pipe_name_buf member, which occupies 96 bytes
> and stores the Windows named pipe name.
>
> There's a similar need to store the pipe name for the fhandler_socket_unix
> class. In that case you used pc.{set,get}_nt_native_path. But the latter
> is already in use in the fhandler_fifo case, so I can't use that. I see
> several possible ways to proceed:
>
> 0. Do nothing and live with fhandler_fifo being big (736 bytes on 64-bit).
As I wrote on IRC, it's not that bad. Trying to keep the size of
fhandlers low is probably a bit old-fashioned anyway. 32 bit trauma :)
Corinna
More information about the Cygwin-developers
mailing list