emacs-devel
[Top][All Lists]
Advanced

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

Re: Asynchronous DNS


From: Paul Eggert
Subject: Re: Asynchronous DNS
Date: Sat, 20 Feb 2016 12:33:33 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

Alain Schneble wrote:
But the async-dns implementation that Lars provided uses another
approach instead: it polls by calling gai_error (succeed, failed, in
progress, ...)  repeatedly from wait_reading_process_output.

You're ahead of me, since I haven't read the implementation. From what you say, it appears that Emacs needs to cancel DNS requests that it thinks are so old that the answer is not likely to be useful. Presumably this could be done just before calling gai_error, by calling gai_cancel on the old requests.



reply via email to

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