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: Stefan Monnier
Subject: Re: scratch/list-threads 833a2d4 2/9: Make lisp/thread.el the new home for thread-related Lisp functions
Date: Mon, 03 Sep 2018 11:17:54 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> >> What's wrong with (fboundp 'make-thread)?
>> > That (AFAIK) it returns non-nil even when threads are not available?
>> What is the reason for this?
> AFAIR, that was how Tom wrote the code in the first place.  It makes
> the configury slightly less complicated, and makes extending the
> low-level support to other threading libraries slightly easier.  Not
> very important reasons, but then we do have other features that just
> do nothing useful on platforms where they cannot be supported.

Hmm... I see.  That's too bad: (fboundp 'make-thread) seems like the
most natural way to check for availability of threading.

> No.  AFAIK, all platforms that support threads either don't need any
> library, or load it right at the beginning.

That was my impression,


        Stefan




reply via email to

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