From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Asynchronous DNS Date: Thu, 04 Feb 2016 18:30:07 +0200 Message-ID: <83zivgwi9c.fsf@gnu.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1454603491 31345 80.91.229.3 (4 Feb 2016 16:31:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2016 16:31:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 04 17:31:30 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 1aRMoY-0000If-4e for ged-emacs-devel@m.gmane.org; Thu, 04 Feb 2016 17:31:26 +0100 Original-Received: from localhost ([::1]:42771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRMoX-0006Ez-Ib for ged-emacs-devel@m.gmane.org; Thu, 04 Feb 2016 11:31:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35940) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRMna-0005PQ-Kz for emacs-devel@gnu.org; Thu, 04 Feb 2016 11:30:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRMnW-0007qe-N0 for emacs-devel@gnu.org; Thu, 04 Feb 2016 11:30:26 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRMnW-0007qa-Ka; Thu, 04 Feb 2016 11:30:22 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4299 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aRMnV-0000vR-R9; Thu, 04 Feb 2016 11:30:22 -0500 In-reply-to: <87lh71nriy.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 04 Feb 2016 13:22:29 +1100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:199301 Archived-At: > From: Lars Ingebrigtsen > Cc: emacs-devel@gnu.org > Date: Thu, 04 Feb 2016 13:22:29 +1100 > > Eli Zaretskii writes: > > > If we introduce such a thread, its code needs to be carefully audited > > for the above-mentioned gotchas. E.g., passing to it a C pointer to a > > contents of a Lisp string is probably unsafe. It's not rocket science > > to DTRT in this case (we already do that quite a lot on MS-Windows), > > it just requires very careful programming and code review. > > Sure. But I think that for the getaddrinfo_a thing, it really is that > simple. In that case, we don't launch threads of our own; libc does. So that's not the case I was talking about.