[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Repeating timers and suspending the computer
From: |
Marcin Borkowski |
Subject: |
Repeating timers and suspending the computer |
Date: |
Fri, 09 Dec 2022 06:20:22 +0100 |
User-agent: |
mu4e 1.1.0; emacs 29.0.50 |
Hi all,
assume that I said
(run-with-timer 0 1
(lambda () (message "%s" (format-time-string "%H:%M:%S.%3N"))))
and put my laptop in the "sleep mode" for 20 seconds. How many time
messages should I get? Assume `timer-max-repeats' is 10 (which seems to
be the default).
When I did the experiment, it seemed that the timer'd function was run
/twice/ after waking up, which looks really strange -- why two times?
Best,
--
Marcin Borkowski
http://mbork.pl
- Repeating timers and suspending the computer,
Marcin Borkowski <=
- Re: Repeating timers and suspending the computer, Eli Zaretskii, 2022/12/09
- Re: Repeating timers and suspending the computer, Emanuel Berg, 2022/12/10
- Re: Repeating timers and suspending the computer, Marcin Borkowski, 2022/12/10
- Re: Repeating timers and suspending the computer, Eli Zaretskii, 2022/12/11
- Re: Repeating timers and suspending the computer, Marcin Borkowski, 2022/12/13
- Re: Repeating timers and suspending the computer, Eli Zaretskii, 2022/12/13
- Re: Repeating timers and suspending the computer, Marcin Borkowski, 2022/12/14
- Re: Repeating timers and suspending the computer, Eli Zaretskii, 2022/12/15
- Re: Repeating timers and suspending the computer, Marcin Borkowski, 2022/12/15