[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: |
Eric Abrahamsen |
Subject: |
Re: master 54b9213: Handle thread-signal towards the main thread (Bug#32502) |
Date: |
Sat, 08 Sep 2018 08:48:59 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Michael Albinus <address@hidden> writes:
> 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:
>
> ;; 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.")
>
> It is nil when there is no (sufficient) thread support.
Looks reasonable -- thanks!
Eric
- 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), 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, 2018/09/07
- Re: master 54b9213: Handle thread-signal towards the main thread (Bug#32502),
Eric Abrahamsen <=