From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: Po Lu <luangruo@yahoo.com>
Cc: emacs-devel@gnu.org, "Gerd Möllmann" <gerd@gnu.org>
Subject: Re: master 4ac4cec652f: Prevent freezes on macOS (bug#69561)
Date: Wed, 13 Mar 2024 12:59:51 +0100 [thread overview]
Message-ID: <m28r2ml4ug.fsf@Pro.fritz.box> (raw)
In-Reply-To: <87sf0uv188.fsf@yahoo.com> (Po Lu's message of "Wed, 13 Mar 2024 19:07:51 +0800")
Po Lu <luangruo@yahoo.com> writes:
> Gerd Möllmann <gerd.moellmann@gmail.com> writes:
>
>> I interpret this as meaning that it's possible to do this, considering
>> that Emacs' threads run one at a time only, AFAIU. If that's no
>> longer the case, we have a problem, I agree.
>
> My mistake. I assumed thread_select was the function calling ns_select,
> not the other way around. Nevertheless, we've received reports of the
> toolkit aborting when invoked from a non-main thread, so would you
> please test this change in an environment where several threads are
> active?
I'll put that on my todo list, but it can take me some time.
I think the change is necessary if or if not what you describe can
happen, because without it Emacs freezes for me somewhere between 0s and
a few hours after starting it. With the fix, it didn't freeze at all.
prev parent reply other threads:[~2024-03-13 11:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <171031025289.32157.8913441761015064536@vcs2.savannah.gnu.org>
[not found] ` <20240313061054.71155C1FB4A@vcs2.savannah.gnu.org>
2024-03-13 7:45 ` master 4ac4cec652f: Prevent freezes on macOS (bug#69561) Po Lu
2024-03-13 8:48 ` Gerd Möllmann
2024-03-13 11:07 ` Po Lu
2024-03-13 11:59 ` Gerd Möllmann [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m28r2ml4ug.fsf@Pro.fritz.box \
--to=gerd.moellmann@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=gerd@gnu.org \
--cc=luangruo@yahoo.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).