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: Tue, 16 Feb 2016 13:09:40 +1100 Message-ID: <87oabho17f.fsf@gnus.org> References: <87si1gx6wz.fsf@gnus.org> <86y4b5zvzt.fsf@gmail.com> <8760y9kwrk.fsf@gnus.org> <87wpqpjgwy.fsf@gnus.org> <83a8nk1cxk.fsf@gnu.org> <87h9hrnc8x.fsf@gnus.org> <83powfzsqt.fsf@gnu.org> <87y4b393hl.fsf@gnus.org> <83io27ytu3.fsf@gnu.org> <87k2mmzkry.fsf@gnus.org> <83k2mlyet8.fsf@gnu.org> <87lh71nriy.fsf@gnus.org> <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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455588635 13490 80.91.229.3 (16 Feb 2016 02:10:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Feb 2016 02:10:35 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alain Schneble Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 16 03:10:25 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 1aVV5s-0002xP-Ih for ged-emacs-devel@m.gmane.org; Tue, 16 Feb 2016 03:10:24 +0100 Original-Received: from localhost ([::1]:38293 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVV5r-0003gQ-QO for ged-emacs-devel@m.gmane.org; Mon, 15 Feb 2016 21:10:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVV5o-0003fG-5r for emacs-devel@gnu.org; Mon, 15 Feb 2016 21:10:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVV5k-0000Db-UI for emacs-devel@gnu.org; Mon, 15 Feb 2016 21:10:20 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:60247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVV5k-0000BG-NG for emacs-devel@gnu.org; Mon, 15 Feb 2016 21:10:16 -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 1aVV5F-0000or-79; Tue, 16 Feb 2016 03:09:45 +0100 In-Reply-To: <86y4ao5g1c.fsf@realize.ch> (Alain Schneble's message of "Sun, 14 Feb 2016 00:47:27 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aVV5F-0000or-79 MailScanner-NULL-Check: 1456193386.34967@6+8WCTDTpStVMEh5PawPNQ 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:200004 Archived-At: Alain Schneble writes: > + FOR_EACH_PROCESS(process_list_head, async_dns_process_candidate) > + { > + p = XPROCESS (async_dns_process_candidate); Actually, thinking a bit more about doing non-blocking TLS negotiation, doing it this way is probably the best way anyway. Probably. When I start implementing non-blocking TLS boot, then I need a way to keep prodding libgnutls to continue the negotiation. So doing both these things from this loop here is probably the most efficient thing, because we certainly don't want yet another list of processes for the semi-negotiated processes... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no