From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Asynchronous DNS Date: Sun, 28 Feb 2016 10:44:42 +0100 Message-ID: References: <8637t8opla.fsf@realize.ch> <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 1456652721 23027 80.91.229.3 (28 Feb 2016 09:45:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Feb 2016 09:45:21 +0000 (UTC) Cc: Alain Schneble , emacs-devel@gnu.org, YAMAMOTO Mitsuharu , Paul Eggert To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 28 10:45:12 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 1aZxuZ-00052o-QZ for ged-emacs-devel@m.gmane.org; Sun, 28 Feb 2016 10:45:11 +0100 Original-Received: from localhost ([::1]:58182 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZxuZ-0005v3-BI for ged-emacs-devel@m.gmane.org; Sun, 28 Feb 2016 04:45:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZxuJ-0005qL-AT for emacs-devel@gnu.org; Sun, 28 Feb 2016 04:44:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZxuF-0004Qr-HC for emacs-devel@gnu.org; Sun, 28 Feb 2016 04:44:55 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.10]:37277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZxuF-0004Qg-Ae for emacs-devel@gnu.org; Sun, 28 Feb 2016 04:44:51 -0500 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3qCfvj2F8jz3hjYL; Sun, 28 Feb 2016 10:44:48 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3qCfvh4VV1zvh1p; Sun, 28 Feb 2016 10:44:48 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 7H50rNnZ2l1z; Sun, 28 Feb 2016 10:44:43 +0100 (CET) X-Auth-Info: aRtK/2V5s2HMtC/OiqeFVIJUmN/Kp1JbLILk+e+rSw2XZSmg6ogzNJBBrPB+GLmD Original-Received: from linux.local (ppp-88-217-22-122.dynamic.mnet-online.de [88.217.22.122]) by mail.mnet-online.de (Postfix) with ESMTPA; Sun, 28 Feb 2016 10:44:43 +0100 (CET) Original-Received: by linux.local (Postfix, from userid 501) id 92ABA1E539F; Sun, 28 Feb 2016 10:44:42 +0100 (CET) X-Yow: CHUBBY CHECKER owns my BUILDING! In-Reply-To: <87si0dwiki.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 28 Feb 2016 15:13:41 +1030") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 212.18.0.10 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:200750 Archived-At: 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. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."