Subject: Re: bug#36609: 27.0.50; Possible race-condition in threading implementation

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 21 Aug 2020 14:57:29 +0200

Pip Cet <[email-masked]> writes:

> Patch attached.
>
> It's possible this'll livelock certain glib libraries that want to
> modify the glib main context while another thread is running. I don't
> see a good way to fix that, but a bad way would be to apply some
> heuristic (such as a 10 ms delay between calling select() and assuming
> it actually was called).

Skimming this thread, it seems that Eli was in agreement with applying
it, and Andreas has tried it extensively and it fixes the problem, so
I've applied it to Emacs 28 now. 

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no