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: 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




reply via email to

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