emacs-devel
[Top][All Lists]
Advanced

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

Re: list-threads


From: Gemini Lasswell
Subject: Re: list-threads
Date: Mon, 27 Aug 2018 10:38:06 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux)

I've just pushed an update to the scratch/list-threads branch which
includes:

- lisp/thread.el, the new home for thread-related Lisp functions.

- A 'b' command in the *Threads* buffer which shows a backtrace of where
  the thread at point had yielded or was blocked at the moment you
  pressed 'b'.

- Documentation and a NEWS entry.

- Tests.

There are no local variables in the thread backtraces.  I experimented a
bit with making Fbacktrace__locals work on non-current threads, with
mixed results (success in extracting variable values at the cost of
corrupting something making Emacs prone to crashing afterwards), and
decided that feature is more difficult (for me, at the present time)
than it is important.

If you have any feedback, let me know, otherwise I'll merge this in a
few days.



reply via email to

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