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 resolving Date: Fri, 13 Feb 2015 18:32:51 +1100 Message-ID: <87d25ep8po.fsf@building.gnus.org> References: <877fvmffrz.fsf@building.gnus.org> <54DDA602.7090504@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423812893 15156 80.91.229.3 (13 Feb 2015 07:34:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Feb 2015 07:34:53 +0000 (UTC) Cc: emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 13 08:34:42 2015 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 1YMAlt-0007mS-MB for ged-emacs-devel@m.gmane.org; Fri, 13 Feb 2015 08:34:41 +0100 Original-Received: from localhost ([::1]:53775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMAlt-0005vR-4A for ged-emacs-devel@m.gmane.org; Fri, 13 Feb 2015 02:34:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMAlp-0005vM-N7 for emacs-devel@gnu.org; Fri, 13 Feb 2015 02:34:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YMAlm-0003UO-F1 for emacs-devel@gnu.org; Fri, 13 Feb 2015 02:34:37 -0500 Original-Received: from smtp.syd.comcen.com.au ([203.23.236.77]:4166) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YMAll-0003Tz-U7 for emacs-devel@gnu.org; Fri, 13 Feb 2015 02:34:34 -0500 Original-Received: from building.gnus.org ([27.96.197.126]) by smtp.syd.comcen.com.au (8.13.4/8.12.9) with ESMTP id t1D7WuJG061413; Fri, 13 Feb 2015 18:32:56 +1100 (EST) In-Reply-To: <54DDA602.7090504@cs.ucla.edu> (Paul Eggert's message of "Thu, 12 Feb 2015 23:21:38 -0800") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-comcen-MailScanner-Information: Please contact the ISP for more information X-comcen-MailScanner: Found to be clean X-comcen-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0.12, required 4, AWL 0.02, BAYES_50 0.00, RDNS_NONE 0.10) X-comcen-MailScanner-From: larsi@gnus.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 203.23.236.77 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:182991 Archived-At: Paul Eggert writes: > Lars Ingebrigtsen wrote: >> A few years back I looked into making the Emacs domain lookup thing be >> asynchronous, but that was way beyond my knowledge of Emacs internals, >> and what happens when I fork Emacs, and what Emacs Lisp primitives can >> be used in the forked instance. > > Nowadays there is getaddrinfo_a; will that do? Sure; if you can get Emacs to provide an interface to that function with an async callback, that would be great. A process filter on the lookup, perhaps? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/