emacs-devel
[Top][All Lists]
Advanced

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

Re: Asynchronous DNS


From: Lars Ingebrigtsen
Subject: Re: Asynchronous DNS
Date: Mon, 29 Feb 2016 13:59:11 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Andreas Schwab <address@hidden> writes:

> Lars Ingebrigtsen <address@hidden> writes:
>
>> For instance, if Emacs is shutting down, and it just calls
>> `delete-process' on everything (which it does, I think?), then Emacs
>> exit would hang until getaddrinfo returns (which may take many seconds).
>
> shut_down_emacs sets inhibit_sentinels before calling
> kill_buffer_processes, which could be used as an indicator to avoid
> waiting.

Great!  I'll use that, and use gai_suspend if it's not set...

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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