GNU bug report logs - #78946
30.1; accept-process-output not allowed in threads on macOS

Previous Next

Package: emacs;

Reported by: John Wiegley <jwiegley <at> gmail.com>

Date: Wed, 2 Jul 2025 19:21:02 UTC

Severity: normal

Found in version 30.1

Full log


View this message in rfc822 format

From: Robert Pluim <rpluim <at> gmail.com>
To: John Wiegley <jwiegley <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 78946 <at> debbugs.gnu.org, contact <at> karthinks.com, Alan Third <alan <at> idiocy.org>
Subject: bug#78946: 30.1; accept-process-output not allowed in threads on macOS
Date: Fri, 04 Jul 2025 13:46:19 +0200
>>>>> On Thu, 03 Jul 2025 16:00:23 -0700, John Wiegley <jwiegley <at> gmail.com> said:

>>>>> Robert Pluim <rpluim <at> gmail.com> writes:
    >> John, does it help if you stick something like

    >> if ([[NSThread currentThread] isMainThread])
    >> {
    >> }

    >> around the

    >> [NSApp run];

    >> in `ns_select_1'?

    John> Hi Robert,

    John> With this change, I’m able to run the tests successfully 10,000 times in my
    John> interactive Emacs on macOS.

Thatʼs encouraging. Alan, does this change make sense? (Iʼve swapped
out what little I know about the macOS event loop 😀)

Robert
-- 




This bug report was last modified 31 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.