GNU bug report logs -
#65837
30.0.50; Debugger in non-main threads
Previous Next
Full log
View this message in rfc822 format
On Sat, Sep 09 2023, Eli Zaretskii wrote:
> AFAIR, it is not trivial to improve
> the thread error handling significantly, but patches are welcome, of
> course.
Is there a design/plan for how recursive-edit is supposed to work in
non-main threads?
E.g. some options that come to mind:
1) It should be allowed without restriction (what currently seems to be
happening).
2) There should be some locking/multiplexing scheme so that only some
"foreground thread" is allowed to read events from the keyboard.
3) Only the main thread is allowed to call recursive-edit; all other
threads have to communicate with the main thread in some way. (Maybe
there should be one thread per terminal that runs a command loop, but
that's an exotic detail.)
Helmut
This bug report was last modified 1 year and 281 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.