[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: |
Michael Albinus |
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 16:15:57 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> I could use then (configured-feature-p 'threads) in order to know
>> whether Emacs has been configured --with-threads, explicitly or implicitly.
>
> What if Emacs was configured --with-threads but at run-time the shared
> lib is not available?
It shall crash. That's what other programs do, too.
> Maybe instead of
>
> (fboundp 'make-thread)
>
> the better choice is
>
> (progn (ignore-errors (make-thread #'ignore)) t)
>
> ?
Too complicate. And, as said already, make-thread is not the function
I'm interested in. It exists in Emacs 26, and I need further threads
functionality introduced in Emacs 27.
> Stefan
Best regards, Michael.