emacs-devel
[Top][All Lists]
Advanced

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

Re: Questions about throw-on-input


From: Eli Zaretskii
Subject: Re: Questions about throw-on-input
Date: Mon, 11 May 2020 19:19:44 +0300

> From: Stefan Monnier <address@hidden>
> Cc: Alexander Miller <address@hidden>,  address@hidden,
>   address@hidden
> Date: Mon, 11 May 2020 11:21:33 -0400
> 
> > It is unusual for non-main threads to wait for keyboard input
> > descriptor.  You shouldn't rely on that because it can only work very
> > rarely, if at all, and when it does, you are likely to see serious
> > problems.  Normally, the 'pselect' call issued by a non-main thread
> > will not mark the keyboard descriptor as being waited for.
> 
> Should input-pending-p and friends catch that case and signal an error, then?

Do we want that?



reply via email to

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