From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Asynchronous DNS Date: Tue, 02 Feb 2016 08:25:47 -0500 Message-ID: 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454419628 21978 80.91.229.3 (2 Feb 2016 13:27:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Feb 2016 13:27:08 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 02 14:27:00 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 1aQayb-0007eF-Or for ged-emacs-devel@m.gmane.org; Tue, 02 Feb 2016 14:26:37 +0100 Original-Received: from localhost ([::1]:57162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQaya-0004K3-Rn for ged-emacs-devel@m.gmane.org; Tue, 02 Feb 2016 08:26:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQayX-0004Jr-Mb for emacs-devel@gnu.org; Tue, 02 Feb 2016 08:26:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQayU-0003RC-FX for emacs-devel@gnu.org; Tue, 02 Feb 2016 08:26:33 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:56479) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQayU-0003R2-8k for emacs-devel@gnu.org; Tue, 02 Feb 2016 08:26:30 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aQayB-0007Fg-5M for emacs-devel@gnu.org; Tue, 02 Feb 2016 14:26:11 +0100 Original-Received: from 69-196-166-146.dsl.teksavvy.com ([69.196.166.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 14:26:11 +0100 Original-Received: from monnier by 69-196-166-146.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 14:26:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 20 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 69-196-166-146.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:rFJfG+U/lb6bP2FZO1rAF7pNXiI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:199163 Archived-At: > What problems do you see with stopping/starting threads in Emacs (that > do no Lisp-related stuff)? None, as long as the Emacs build notices that we're using threads. > I'm assuming there are plenty of libraries that Emacs uses that > already does this behind Emacs' back, Indeed. If you built with Gtk you'll use threads, and IIRC the same holds for dbus and a few other libraries commonly linked with Emacs. > and we don't seem to care... Actually, we do, but AFAIK we don't need to know about each and every thread, we just need to know that threading is used (IIRC, the issues we need to handle have to do with signal delivery, making sure we run them in the main Emacs/Elisp thread). Stefan