emacs-devel
[Top][All Lists]
Advanced

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

Re: scratch/list-threads 833a2d4 2/9: Make lisp/thread.el the new home f


From: Gemini Lasswell
Subject: Re: scratch/list-threads 833a2d4 2/9: Make lisp/thread.el the new home for thread-related Lisp functions
Date: Wed, 05 Sep 2018 09:49:45 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> From: Stefan Monnier <address@hidden>
>> Date: Fri, 31 Aug 2018 09:19:58 -0400
>> 
>> What's wrong with (fboundp 'make-thread)?
>
> That (AFAIK) it returns non-nil even when threads are not available?

I just built Emacs configured --without-threads, and
(fboundp 'make-thread) returns nil.

On inspection of thread.c, the only Lisp symbols it creates if
THREADS_ENABLED is not defined are:

threadp
mutexp
condition-variable-p
main-thread



reply via email to

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