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: Fri, 05 Feb 2016 13:08:59 +1100 Message-ID: <87fux7gb7o.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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454638198 10274 80.91.229.3 (5 Feb 2016 02:09:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Feb 2016 02:09:58 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Alain Schneble Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 05 03:09:48 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 1aRVqF-0001Yg-Rz for ged-emacs-devel@m.gmane.org; Fri, 05 Feb 2016 03:09:48 +0100 Original-Received: from localhost ([::1]:45403 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRVqE-0003Sq-ST for ged-emacs-devel@m.gmane.org; Thu, 04 Feb 2016 21:09:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRVq1-0003Qv-Af for emacs-devel@gnu.org; Thu, 04 Feb 2016 21:09:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRVpx-0002N4-AG for emacs-devel@gnu.org; Thu, 04 Feb 2016 21:09:33 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:39816) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRVpx-0002My-3X; Thu, 04 Feb 2016 21:09:29 -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 1aRVpY-0000pg-MS; Fri, 05 Feb 2016 03:09:05 +0100 In-Reply-To: <86y4b0n5q2.fsf@realize.ch> (Alain Schneble's message of "Thu, 4 Feb 2016 11:13:25 +0100") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aRVpY-0000pg-MS MailScanner-NULL-Check: 1455242946.1393@OVTTffr/+J1ASP2ePRxnYg 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:199346 Archived-At: Alain Schneble writes: > In this regard, I was wondering if it is really worth to maintain a > separate `dns_processes' list. Why not just loop over all processes > and try to get the requests for those where `p->dns_requests' is not > NULL? Would that be too costly? Is there a process list somewhere? There's a file descriptor array, but these processes don't have a file descriptor yet, so... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no