[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.
- Re: master 54b9213: Handle thread-signal towards the main thread (Bug#32502), (continued)
- Re: master 54b9213: Handle thread-signal towards the main thread (Bug#32502), Stefan Monnier, 2018/09/06
- Re: master 54b9213: Handle thread-signal towards the main thread (Bug#32502), Eli Zaretskii, 2018/09/06
- Re: master 54b9213: Handle thread-signal towards the main thread (Bug#32502), Stefan Monnier, 2018/09/06
- Re: master 54b9213: Handle thread-signal towards the main thread (Bug#32502), Eli Zaretskii, 2018/09/06
- Re: master 54b9213: Handle thread-signal towards the main thread (Bug#32502), Stefan Monnier, 2018/09/06
- Re: master 54b9213: Handle thread-signal towards the main thread (Bug#32502), Eli Zaretskii, 2018/09/07
- Re: master 54b9213: Handle thread-signal towards the main thread (Bug#32502), Stefan Monnier, 2018/09/07
- Re: master 54b9213: Handle thread-signal towards the main thread (Bug#32502), Eli Zaretskii, 2018/09/07
- Re: master 54b9213: Handle thread-signal towards the main thread (Bug#32502), Stefan Monnier, 2018/09/07
- Re: master 54b9213: Handle thread-signal towards the main thread (Bug#32502), Eric Abrahamsen, 2018/09/07
- Re: master 54b9213: Handle thread-signal towards the main thread (Bug#32502),
Michael Albinus <=
- Re: master 54b9213: Handle thread-signal towards the main thread (Bug#32502), Eric Abrahamsen, 2018/09/08