Subject: Re: bug#19776: timerfd doesn't work when busy-looping

From: Eli Zaretskii <[email-masked]>
Date: Mon, 25 Oct 2021 18:59:04 +0300

> From: Lars Ingebrigtsen <[email-masked]>
> Cc: Eli Zaretskii <[email-masked]>,  [email-masked],
>   [email-masked],  [email-masked],  [email-masked], Andreas
>  Schwab <[email-masked]>
> Date: Mon, 25 Oct 2021 17:05:10 +0200
> 
> Dmitry, the issue is that with timerfd, no atimers are delivered when
> Emacs is busy-looping, like:
> 
>   (with-delayed-message 2 "Yes"
>     (while t))

Btw, the above signals an error; I need to use

  (with-delayed-message (2 "Yes")
    (while t))

instead, to make it work.