From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Asynchronous DNS Date: Mon, 29 Feb 2016 13:59:11 +1100 Message-ID: <871t7w2pds.fsf@gnus.org> References: <871t8skg6c.fsf@gnus.org> <86y4b0n5q2.fsf@realize.ch> <87fux7gb7o.fsf@gnus.org> <83wpqjvd2f.fsf@gnu.org> <87zivfobn4.fsf@gnus.org> <86y4ao5g1c.fsf@realize.ch> <87r3ggdo9f.fsf@gnus.org> <86twlb5yl4.fsf@realize.ch> <83d1rzz1mu.fsf@gnu.org> <86egcc49qu.fsf@realize.ch> <87io1k41cg.fsf@gnus.org> <56C8A89C.4020909@cs.ucla.edu> <861t873zlj.fsf@realize.ch> <56C8CD9D.1020504@cs.ucla.edu> <86twl22w7b.fsf@realize.ch> <87povils9h.fsf@gnus.org> <86wppqv76g.fsf@realize.ch> <87si0dwiki.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1456714817 21872 80.91.229.3 (29 Feb 2016 03:00:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Feb 2016 03:00:17 +0000 (UTC) Cc: Paul Eggert , Alain Schneble , YAMAMOTO Mitsuharu , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 29 04:00:07 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aaE44-0002zC-RQ for ged-emacs-devel@m.gmane.org; Mon, 29 Feb 2016 04:00:04 +0100 Original-Received: from localhost ([::1]:33675 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaE44-0001It-1R for ged-emacs-devel@m.gmane.org; Sun, 28 Feb 2016 22:00:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaE3m-0001IU-8Z for emacs-devel@gnu.org; Sun, 28 Feb 2016 21:59:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaE3i-0004eW-Gg for emacs-devel@gnu.org; Sun, 28 Feb 2016 21:59:46 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:51129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaE3i-0004eS-AY for emacs-devel@gnu.org; Sun, 28 Feb 2016 21:59:42 -0500 Original-Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aaE3I-0008Qj-Qd; Mon, 29 Feb 2016 03:59:17 +0100 In-Reply-To: (Andreas Schwab's message of "Sun, 28 Feb 2016 10:44:42 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aaE3I-0008Qj-Qd MailScanner-NULL-Check: 1457319557.68848@vqTk4xx8Qajgc0kOoI/d3g X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:200798 Archived-At: Andreas Schwab writes: > Lars Ingebrigtsen 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