Subject: Re: bug#32502: 27.0.50; Tramp; C-g during asynchronous remote find-file kills Emacs

From: Michael Albinus <[email-masked]>
Date: Thu, 30 Aug 2018 15:28:25 +0200

Eli Zaretskii <[email-masked]> writes:

>> So we also need a command which lets you switch to the main thread,
>> wherever you are.
>
> This would need some infrastructure that currently doesn't exist.  Wed
> can tell the current thread to yield, but we have no way of
> designating another thread that will run when the first one yields.

Of course. But in the "User interaction from multiple threads" thread
there was also the proposal to delegate tasks from a thread to the main
thread. So there seems to be also other use cases.

Best regards, Michael.