From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alain Schneble Newsgroups: gmane.emacs.devel Subject: Re: Asynchronous DNS Date: Mon, 8 Feb 2016 15:25:26 +0100 Message-ID: <86si13l1nt.fsf@realize.ch> References: <8760y9kwrk.fsf@gnus.org> <8760y7nag7.fsf@gnus.org> <83oabzzsjq.fsf@gnu.org> <87fuxazkfe.fsf@gnus.org> <83io25yeqk.fsf@gnu.org> <87h9hpnreg.fsf@gnus.org> <83y4b0wi7m.fsf@gnu.org> <87si17evk6.fsf@gnus.org> <83twlnvcz2.fsf@gnu.org> <87vb63obm3.fsf@gnus.org> <87r3gqmg6g.fsf@gnus.org> <83egcqtfnm.fsf@gnu.org> <86mvrdmk8p.fsf@realize.ch> <877fihjo4m.fsf@gnus.org> <86io20n3xn.fsf@realize.ch> <8760y055l1.fsf@gnus.org> <86wpqfl8ly.fsf@realize.ch> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454941583 31675 80.91.229.3 (8 Feb 2016 14:26:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Feb 2016 14:26:23 +0000 (UTC) Cc: Lars Ingebrigtsen , Eli Zaretskii , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 08 15:26:18 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 1aSmlb-0002qs-ET for ged-emacs-devel@m.gmane.org; Mon, 08 Feb 2016 15:26:15 +0100 Original-Received: from localhost ([::1]:45264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSmlV-0000qz-SJ for ged-emacs-devel@m.gmane.org; Mon, 08 Feb 2016 09:26:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSmlR-0000o7-J1 for emacs-devel@gnu.org; Mon, 08 Feb 2016 09:26:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSmlN-0007gU-HM for emacs-devel@gnu.org; Mon, 08 Feb 2016 09:26:05 -0500 Original-Received: from clientmail.realize.ch ([46.140.89.53]:2255) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1aSmlN-0007fT-4C; Mon, 08 Feb 2016 09:26:01 -0500 Original-Received: from rintintin.hq.realize.ch.lan.rit ([192.168.0.105]) by clientmail.realize.ch ; Mon, 8 Feb 2016 15:25:44 +0100 Original-Received: from MYNGB (192.168.250.224) by rintintin.hq.realize.ch.lan.rit (192.168.0.105) with Microsoft SMTP Server (TLS) id 15.0.516.32; Mon, 8 Feb 2016 15:25:26 +0100 In-Reply-To: (Andreas Schwab's message of "Mon, 08 Feb 2016 13:55:01 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (windows-nt) X-ClientProxiedBy: rintintin.hq.realize.ch.lan.rit (192.168.0.105) To rintintin.hq.realize.ch.lan.rit (192.168.0.105) X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] X-Received-From: 46.140.89.53 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:199518 Archived-At: Andreas Schwab writes: > Alain Schneble writes: > >> Andreas Schwab writes: >> >> That sounds interesting, but would it really be feasible to call out to >> the event loop while in the blocking call? > > That's what accept-process-output does. True, but my assumption was that it would be illegal to call `accept-process-output' say, for example, from within `set-process-coding-system' for the sake of waiting for the DNS resolve to complete as it might have unwanted side effects. But I might be wrong.