Subject: bug#78946: 30.1; accept-process-output not allowed in threads on macOS

From: John Wiegley <[email-masked]>
Date: Thu, 03 Jul 2025 16:00:23 -0700

>>>>> Robert Pluim <[email-masked]> writes:

> John, does it help if you stick something like

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

> around the

>     [NSApp run];

> in `ns_select_1'?

Hi Robert,

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

John