From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani
> The problem is that Cocoa insists the run loop *must* be run on the
> main thread, and Emacs also insists that *it* runs on the main thread.=
>
> Is there a way to get Emacs to run on a child thread? Is it just a
> case of resetting main_thread_id in sysdep.c?
You should consider which thread gets the signals (or their
equivalents).=C2=A0 Emacs currently assumes its the main thread, and that= 39;s
what you see in sysdep.c.=C2=A0 But some other traces of this assumption
are elsewhere, so you should carefully review any code that is related
to signals.