From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: master 54b9213: Handle thread-signal towards the main thread (Bug#32502) Date: Fri, 07 Sep 2018 22:53:31 +0200 Message-ID: <87y3cd112s.fsf@gmx.de> References: <20180830192912.24309.93190@vcs0.savannah.gnu.org> <20180830192914.85ECE20497@vcs0.savannah.gnu.org> <87bm9j812d.fsf@gmx.de> <83va7iwvqx.fsf@gnu.org> <83pnxqwkv1.fsf@gnu.org> <83y3cdvp2a.fsf@gnu.org> <87sh2lcmds.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1536353548 23648 195.159.176.226 (7 Sep 2018 20:52:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Sep 2018 20:52:28 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Eli Zaretskii , Stefan Monnier , emacs-devel@gnu.org To: Eric Abrahamsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 07 22:52:24 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fyNjs-00062w-1u for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2018 22:52:24 +0200 Original-Received: from localhost ([::1]:40220 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyNlv-00057j-F9 for ged-emacs-devel@m.gmane.org; Fri, 07 Sep 2018 16:54:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyNlK-00056O-QI for emacs-devel@gnu.org; Fri, 07 Sep 2018 16:53:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fyNlK-0004Sj-56 for emacs-devel@gnu.org; Fri, 07 Sep 2018 16:53:54 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:44063) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fyNlG-0004HF-5e; Fri, 07 Sep 2018 16:53:50 -0400 Original-Received: from detlef.gmx.de ([212.86.51.196]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M4WNA-1ffUzi07iO-00yiRG; Fri, 07 Sep 2018 22:53:34 +0200 In-Reply-To: <87sh2lcmds.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Fri, 07 Sep 2018 09:17:51 -0700") X-Provags-ID: V03:K1:BK4pyilmBAzDRjLN9O0XS1L/t1SBz7kdqpCtuTM3uR/PfT3l+HQ lyDAMD1GXGv2cwvRthKRvcuGcIC4HNw2qykoAkFpfvSR9P9yHd1MLYFQCIGmN3YqFzmVHRR In09Zg/9l/NhuvqEBWVvq6xGS6i/uIvZjQdl+upz2/jo7EuI+36nMStB/tt855hOWapIrQq 7C8IWlKxrH1ACq5dNA/kw== X-UI-Out-Filterresults: notjunk:1;V01:K0:sKi/nKZgMHg=:50kCN7MS7SaS2Dl9DuRV+9 VYKZO7jdl4eqH6K3LkUY76QI0vVf2ag+B31ZqFiN8AfVVnlgFoiNDOken4WYiMTVzel04Ba58 cqmMNQ/uXBC4i1qdteLqZPCkrY1OOEoO8gf+59YIWUf8Tc7zGRqiQqb7J3it9RD50x1EVq20U 0yGyIeVpvwn0k1plWcO/0GMoggTgZ32SXAdAR9xt+qap5F6LR43HN6n9Z6noz415v9XyoRDMH ls3cW2KhqPrDinyswBYYNg9HiPdz77umlcsBjFhByoG0VtWRmPPokTqlHp1FjNcP0cypoMlTp 6LPbBAenUwobFH2qp5XbiCpRel02SYM6P1RjNBKGh5iWhVD+1v5l7PTctnGpgUCe4WlrKHLxv W+r5M3rTitHrH0EgCPUsy2YfRzC4IOEmcsJFKNWVFStW4hIcEKYdiVN01Vr1nqnOf4H1LpulS mu57sJEcEspKULSRpj/8avE5o7DaknfH6LQ3ZjhUngEs44UvDRq721vZKUz954r0b09oKO3fu xxsg01tQGu82V1FM4hKLvvJALY9k7ysE2L+mJSxJnx4i5LWf/lJSMnLCvlj1UDek4oBBhfYN0 vQ9kAwt3Lx4SBgvOlgMpcEqCwlEpZjA2eiJ/md9CCuyHS6D12XIANlttihogScvjTiPuzijRN NMwuPCWfr5hCB0xiOMQ+zeVuLZ/iumSCWmcvsFftlt3r/k2i/fsdJZoh7zHdKjeqnHjFmKJfU E5hTVb/ZqaUWFxOo0GU9QV4huv4pG9Z0Ez5LYsa+It2ICS4THPeqeftJ6PsSvzK9sE+FEI3x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.15 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:229453 Archived-At: Eric Abrahamsen writes: > So once we have a canonical check for thread > support, it wouldn't be hard to accommodate both situations. For the time being, I use in the feature/tramp-thread-safe branch: --8<---------------cut here---------------start------------->8--- ;; Threads have entered Emacs 26.1, `main-thread' in Emacs 27.1. But ;; then, they might not exist when Emacs is configured ;; --without-threads. (defconst tramp-compat-main-thread (bound-and-true-p main-thread) "The main thread of Emacs, if compiled --with-threads.") --8<---------------cut here---------------end--------------->8--- It is nil when there is no (sufficient) thread support. Best regards, Michael.