emacs-devel
[Top][All Lists]
Advanced

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

Re: Debugging Emacs with threads


From: Andreas Schwab
Subject: Re: Debugging Emacs with threads
Date: Sun, 11 Dec 2016 19:04:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.90 (gnu/linux)

On Dez 11 2016, Eli Zaretskii <address@hidden> wrote:

>> From: Andreas Schwab <address@hidden>
>> Cc: Tom Tromey <address@hidden>,  address@hidden
>> Date: Sun, 11 Dec 2016 17:43:56 +0100
>> 
>> Why isn't current_thread a thread-local variable?
>
> I don't know.  Is that sufficiently portable for us to use?

If __thread isn't available it can simulated with pthread_getspecific.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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