Subject: bug#28630: 27.0.50; C-g while a non-main thread is sitting crashes Emacs

From: Eli Zaretskii <[email-masked]>
Date: Sat, 07 Oct 2017 17:50:33 +0300

> Date: Sat, 07 Oct 2017 17:24:59 +0300
> From: Eli Zaretskii <[email-masked]>
> Cc: [email-masked], [email-masked], [email-masked]
> 
> > Also, if the behavior between main and non-main threads differ, there should probably a `in-main-thread-p'
> > function. 
> 
> I'd rather not add primitives before there are real-life applications
> that need them and can describe the needs and the requirements.

And, btw, I think you can already check whether the current thread is
the main thread by using the existing primitive 'current-thread'.