[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55628: debug-timer-check fails on macOS 11.6.6
From: |
Eli Zaretskii |
Subject: |
bug#55628: debug-timer-check fails on macOS 11.6.6 |
Date: |
Wed, 25 May 2022 20:11:16 +0300 |
> Resent-From: Mattias Engdegård <mattiase@acm.org>
> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
> Resent-CC: bug-gnu-emacs@gnu.org
> Resent-Sender: help-debbugs@gnu.org
> Cc: 55628@debbugs.gnu.org
> From: Mattias Engdegård <mattiase@acm.org>
> Date: Wed, 25 May 2022 17:34:57 +0200
>
> 25 maj 2022 kl. 15.05 skrev Mattias Engdegård <mattiase@acm.org>:
>
> > More digging shows that set_alarm always sets the interval timer to at
> > least 1 ms in the future even if the timer has expired.
>
> In fact it was even worse than that: because of a second bug, the timer was
> then immediately reset to at least 1 s in the future. The proposed patch
> fixes both flaws.
Btw, this test will never work on a platform that only has setitimer,
because only one ITIMER_REAL timer is guaranteed to exist, and the
function attempts to arm 10 timers at the same time.
> Good to have a test for it -- maybe it should always be enabled, not just
> with enable-checking? People don't always reconfigure, rebuild and re-run the
> tests with enable-checking, nor do any of the build bots.
We don't usually have testing code in a production build, so why make
an exception here? Especially since atimers are an obscure feature
used internally by Emacs.
- bug#55628: debug-timer-check fails on macOS 11.6.6, Mattias Engdegård, 2022/05/25
- bug#55628: debug-timer-check fails on macOS 11.6.6, Lars Ingebrigtsen, 2022/05/25
- bug#55628: debug-timer-check fails on macOS 11.6.6, Mattias Engdegård, 2022/05/25
- bug#55628: debug-timer-check fails on macOS 11.6.6, Eli Zaretskii, 2022/05/25
- bug#55628: debug-timer-check fails on macOS 11.6.6, Mattias Engdegård, 2022/05/25
- bug#55628: debug-timer-check fails on macOS 11.6.6,
Eli Zaretskii <=
- bug#55628: debug-timer-check fails on macOS 11.6.6, Mattias Engdegård, 2022/05/26
- bug#55628: debug-timer-check fails on macOS 11.6.6, Eli Zaretskii, 2022/05/26
- bug#55628: debug-timer-check fails on macOS 11.6.6, Mattias Engdegård, 2022/05/26
- bug#55628: debug-timer-check fails on macOS 11.6.6, Mattias Engdegård, 2022/05/30
- bug#55628: debug-timer-check fails on macOS 11.6.6, Lars Ingebrigtsen, 2022/05/30
- bug#55628: debug-timer-check fails on macOS 11.6.6, Mattias Engdegård, 2022/05/30