emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 54b9213: Handle thread-signal towards the main thread (Bug#32


From: Michael Albinus
Subject: Re: master 54b9213: Handle thread-signal towards the main thread (Bug#32502)
Date: Fri, 07 Sep 2018 22:53:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eric Abrahamsen <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]