|Subject:||Re: [PATCH] Interferences between xwidgets and async processes?|
|Date:||Fri, 30 Jul 2021 10:55:47 +0800|
On Sat, Nov 14, 2020 at 09:22 AM, Eli Zaretskii <email@example.com>
>> > The attached patch fixes this but only in a temporary way.
>> Thanks; applied to Emacs 28.
> Just to be sure: the fix that is now installed on master does
> current and old versions of Glib, where the old code seemed to
> Or does it break with older Glib versions?
I didn't explicitly try it with glib versions before they changed
the signal handling in commit 2e471acf, but it *should* work with
versions before the change. As you can see in the patch, it
essentially just makes Emacs more aggressive in taking over the
signal handler and in glib versions before 2e471acf,
g_source_unref (source) wouldn't result in glib resetting the
signal handler to SIG_DFL, in which case Emacs will just install
itself twice to handle SIGCHLD which is fine.
I think commit 2e471acf got added to glib with version 2.37.5
which was released over 7 years ago.
|[Prev in Thread]||Current Thread||[Next in Thread]|