emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cosmic timeout


From: Stephen J. Turnbull
Subject: Re: cosmic timeout
Date: Sun, 03 Nov 2013 17:50:59 +0900

Jarek Czekalski writes:

 > Findings are that gtk gets stuck in all threads waiting on poll-like 
 > functions.

If you mean the OS poll() function, X.org has historically had a bug
(in true X.org fashion, they say it's not their job to keep promises
if other software might be buggy) where _XtWaitForSomething() can
infloop in non-blocking mode.  I forget whether this shows up with
poll() or with select().

https://bugs.freedesktop.org/show_bug.cgi?id=20048

for more info.

 > I will investigate, why the infinite wait is demanded by Emacs, but if 
 > you like to answer the above question in advance, that helps.

It's not an infinite wait.  It's Emacs blocking on *any* input.  The
function should return as soon as there's input.

I would check for a bug like the above in GTK.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]