emacs-devel
[Top][All Lists]
Advanced

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

Re: list-threads


From: Eli Zaretskii
Subject: Re: list-threads
Date: Sun, 09 Sep 2018 19:01:46 +0300

> From: Gemini Lasswell <address@hidden>
> Date: Sun, 09 Sep 2018 08:44:41 -0700
> Cc: address@hidden
> 
> >  . Will the new function backtrace--frames-from-thread (and its
> >    subroutines) compile and work in an Emacs configured without
> >    threads?  If not, they should be conditioned by THREADS_ENABLED.
> 
> Yes, they compile.  In an Emacs configured without threads,
> backtrace--frames-from-thread is present but will always give a
> wrong-type-argument error, because you can't make a thread object to
> pass to it without make-thread.

It is better to signal an error with a more friendly description that
wrong-type-argument, I think.

Thanks.



reply via email to

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