From: Gemini Lasswell <gazally@runbox.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Emacs Development <emacs-devel@gnu.org>
Subject: Re: list-threads
Date: Sun, 29 Jul 2018 07:31:02 -0700 [thread overview]
Message-ID: <87pnz6p109.fsf@runbox.com> (raw)
In-Reply-To: <87o9eqo4q3.fsf@gmx.de> (Michael Albinus's message of "Sun, 29 Jul 2018 09:56:04 +0200")
Michael Albinus <michael.albinus@gmx.de> writes:
> If I'm visiting many files (say .../emacs/admin/*), there are as many
> threads as files in that directory, 30+ in this case. Refreshing does
> not work as fast as hoped - sure, the main thread is just one thread
> amongst the other threads. Maybe we need some priorization, that a given
> thread (the main thread here) gets mor hits in thread-yield.
There's a defcustom called thread-list-refresh-seconds which controls
how often the auto refresh happens. Try setting it to 0.05 instead of
0.5. I welcome your input on what the default ought to be.
> What happens if you call list-threads from another thread but the main
> one? (Haven't tested myself).
Seems to work fine. It uses a timer, and those run in the main thread.
> Sounds very useful. On my wishlist would also be edebug support for
> threads, this doesn't work at all.
It's on my wishlist too, and I'm thinking of doing something about it
once I've gained a bit more experience working with threads.
next prev parent reply other threads:[~2018-07-29 14:31 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-29 1:11 list-threads Gemini Lasswell
2018-07-29 7:56 ` list-threads Michael Albinus
2018-07-29 8:37 ` list-threads Michael Albinus
2018-07-29 14:31 ` Gemini Lasswell [this message]
2018-07-29 17:31 ` list-threads Eli Zaretskii
2018-07-30 13:27 ` list-threads Gemini Lasswell
2018-07-30 17:21 ` list-threads Stefan Monnier
2018-07-30 14:59 ` list-threads Eli Zaretskii
2018-08-01 16:03 ` list-threads Gemini Lasswell
2018-08-01 16:37 ` list-threads Eli Zaretskii
2018-08-01 20:04 ` list-threads Gemini Lasswell
2018-08-02 13:53 ` list-threads Eli Zaretskii
2018-08-02 14:51 ` list-threads Gemini Lasswell
2018-08-27 17:38 ` list-threads Gemini Lasswell
2018-08-27 18:48 ` list-threads Eli Zaretskii
2018-09-09 15:44 ` list-threads Gemini Lasswell
2018-09-09 16:01 ` list-threads Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pnz6p109.fsf@runbox.com \
--to=gazally@runbox.com \
--cc=emacs-devel@gnu.org \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).