Timers: absolute vs relative
"Marco Antoniotti (as marco dot antoniotti at unimib dot it)" <[email protected]> Mon, 27 Jul 2026 11:57:12 +0200
| Newsgroups | gmane.lisp.lispworks.general |
|---|---|
| Message-ID | <CAG0Nw2kYGtJyRg5YKcCvWnpLuwRUvSCaBrFB1q0sTUOOHUdr0A@mail.gmail.com> |
--000000000000137269065794c0d5 Content-Type: text/plain; charset="UTF-8" Hi I am dabbling with timers, but I am a bit confused by the documentation. The documentation for schedule-timer says "Schedules a timer to expire at a given time *after the start of the program*." The one for schedule-timer-relative says "Schedules a timer to expire at a given time after this function is called." While the "relative" form is rather clear and intuitive (get the current time schedule to timer x seconds later), I am a bit at a loss for the absolute version. How exactly do you get the "start of the program"? Shall I just use the relative version? Thanks -- Marco Antoniotti, Professor, Director tel. +39 - 02 64 48 79 01 DISCo, University of Milan-Bicocca U14 2043 http://dcb.disco.unimib.it Viale Sarca 336 I-20126 Milan (MI) ITALY REGAINS: https://regains.disco.unimib.it/ --000000000000137269065794c0d5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hi<br><br></div><div>I am dabbling with timers, but I= am a bit confused by the documentation.</div><div><br></div><div>The docum= entation for <span style=3D"font-family:monospace">schedule-timer</span> sa= ys "Schedules a timer to expire at a given time <b>after the start of = the program</b>."</div><div>The one for <span style=3D"font-family:mon= ospace">schedule-timer-relative</span> says "Schedules a timer to expi= re at a given time after this function is called."<br><br></div><div>W= hile the "relative" form is rather clear and intuitive (get the c= urrent time schedule to timer x seconds later), I am a bit at a loss for th= e absolute version.=C2=A0 How exactly=C2=A0do you get the "start of th= e program"?<br><br></div><div>Shall I just use the relative version?</= div><div><br></div><div>Thanks</div><br><span class=3D"gmail_signature_pref= ix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail= =3D"gmail_signature"><div dir=3D"ltr"><div><span style=3D"font-family:monos= pace">Marco Antoniotti, Professor, Director =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 tel. +39 - 02 64 48 79 01<br>DISCo, University of Milan-Bicocc= a U14 2043=C2=A0=C2=A0 <a href=3D"http://dcb.disco.unimib.it" target=3D"_bl= ank">http://dcb.disco.unimib.it</a><br>Viale Sarca 336<br>I-20126 Milan (MI= ) ITALY<br><br></span></div><span style=3D"font-family:monospace">REGAINS: = <a href=3D"https://regains.disco.unimib.it/" target=3D"_blank">https://rega= ins.disco.unimib.it/</a><br></span></div></div></div> --000000000000137269065794c0d5-- _______________________________________________ Lisp Hug - the mailing list for LispWorks users [email protected] http://www.lispworks.com/support/lisp-hug.html