all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Akira Kyle <ak@akirakyle.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: sdycjsj@gmail.com, Lars Ingebrigtsen <larsi@gnus.org>,
	emacs-devel@gnu.org
Subject: Re: [PATCH] Interferences between xwidgets and async processes?
Date: Sat, 14 Nov 2020 12:53:13 -0700	[thread overview]
Message-ID: <86blfzu34m.fsf@akirakyle.com> (raw)
In-Reply-To: <83blfzvrh0.fsf@gnu.org>


On Sat, Nov 14, 2020 at 09:22 AM, Eli Zaretskii <eliz@gnu.org> 
wrote:

>> > 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 
> support
> current and old versions of Glib, where the old code seemed to 
> work?
> 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.
 



  reply	other threads:[~2020-11-14 19:53 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-28  3:15 Interferences between xwidgets and async processes? JIANG Shaojian
2020-10-28  8:24 ` Lars Ingebrigtsen
2020-10-28 15:12   ` Eli Zaretskii
2020-10-29  2:43     ` JIANG Shaojian
2020-10-29 14:23       ` Eli Zaretskii
2020-11-05 20:27         ` [PATCH] " Akira Kyle
2020-11-06 15:03           ` Robert Pluim
2020-11-09 13:52           ` Lars Ingebrigtsen
2020-11-12 19:25             ` Akira Kyle
2020-11-14 15:43               ` Lars Ingebrigtsen
2020-11-14 16:22                 ` Eli Zaretskii
2020-11-14 19:53                   ` Akira Kyle [this message]
2021-07-30  2:55                     ` JIANG Shaojian
2021-08-17 15:09                       ` JIANG Shaojian
2021-08-18 14:46                         ` Lars Ingebrigtsen
2020-11-14 19:39                 ` Akira Kyle
2020-11-16 21:38                   ` Lars Ingebrigtsen
2020-11-10  1:23           ` JIANG Shaojian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86blfzu34m.fsf@akirakyle.com \
    --to=ak@akirakyle.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    --cc=sdycjsj@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.