emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Asynchronous DNS


From: Eli Zaretskii
Subject: Re: Asynchronous DNS
Date: Sun, 07 Feb 2016 21:16:15 +0200

> From: Alain Schneble <address@hidden>
> CC: Eli Zaretskii <address@hidden>, <address@hidden>
> Date: Sun, 7 Feb 2016 12:41:08 +0100
> 
> But as said, even better would be a solution where this distinction is
> not necessary at all, IMHO.  But you tried it out and the only feasible
> approach I see would be what Eli Zaretskii proposed, IIUC, to block and
> synchronously wait for DNS resolve completion and socket initialization
> in all the functions requiring a Lisp process having "valid" infd and/or
> outfd set.  OTOH, that sounds quite invasive to those functions, doesn't
> it?

Why is it invasive?  A single call to a single function at the
beginning of each of those functions is all that's needed.  And if the
DNS resolution is already completed, that call will be a no-op.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]