[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 3/4] Allow network processes to be made with a pre-allocat
From: |
Eli Zaretskii |
Subject: |
Re: [PATCH v2 3/4] Allow network processes to be made with a pre-allocated fd. |
Date: |
Mon, 28 Mar 2016 18:24:35 +0300 |
> From: Matthew Leach <address@hidden>
> Date: Sun, 27 Mar 2016 21:39:42 +0100
> Cc: Matthew Leach <address@hidden>
>
> * src/process.c (connect_network_socket): Allow a pre-allocated
> socket descriptor to be used if passed to Emacs, avoiding the call
> to socket() and bind().
> (Fmake_network_process): Allow users to pass in :usepassedsocket
> on the parameter plist to use a socket descriptor that has been
> passed to Emacs.
> (wait_reading_process_output): Call socket() & bind() every time.
> (syms_of_process): New symbol ":usepassedsocket".
Thanks. I have only one comment: the :usepassedsocket name sounds
weird (why "passed"?). How about :use-systemd-socket instead?
Oh, and you promised documentation...