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: Eli Zaretskii
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 18:07:57 +0300

> From: Stefan Monnier <address@hidden>
> Date: Mon, 03 Sep 2018 09:14:13 -0400
> 
> >> 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.

> Is it because we want to lazily try to load the relevant shared
> library, so we don't know before the first call whether that shared
> library is actually available?

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



reply via email to

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