Re: Timers: absolute vs relative
"Marco Antoniotti (as marco dot antoniotti at unimib dot it)" <[email protected]> Mon, 27 Jul 2026 22:33:34 +0200
| Newsgroups | gmane.lisp.lispworks.general |
|---|---|
| Message-ID | <CAG0Nw2m5ceqfVKpFYj7h8+nLsfgWK=_ZtCh6A6S7xSz4GcXVqg@mail.gmail.com> |
--000000000000d5e8c206579da3c1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks. I came to the same conclusion, but I wanted reassurances. MA On Mon, Jul 27, 2026 at 8:43=E2=80=AFPM Martin Simmons <[email protected]= m> wrote: > It is trying to define what 0 means, which is the time that the LispWorks > OS > process started in this case. > > I suggest just using the relative version. > > -- > Martin Simmons > LispWorks Ltd > http://www.lispworks.com/ > > > > >>>>> On Mon, 27 Jul 2026 11:57:12 +0200, Marco Antoniotti (as marco dot > antoniotti at unimib dot it) said: > > > > 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 a= t > a > > given time after this function is called." > > > > While the "relative" form is rather clear and intuitive (get the curren= t > > 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.i= t > > Viale Sarca 336 > > I-20126 Milan (MI) ITALY > > > > REGAINS: https://regains.disco.unimib.it/ > > > > _______________________________________________ > Lisp Hug - the mailing list for LispWorks users > [email protected] > http://www.lispworks.com/support/lisp-hug.html > --=20 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/ --000000000000d5e8c206579da3c1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Thanks.=C2=A0 I came to the same conclusion,=C2=A0but= I wanted reassurances.</div><div><br></div><div>MA</div></div><br><div cla= ss=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_at= tr">On Mon, Jul 27, 2026 at 8:43=E2=80=AFPM Martin Simmons <<a href=3D"m= ailto:[email protected]">[email protected]</a>> wrote:<br></div><b= lockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le= ft:1px solid rgb(204,204,204);padding-left:1ex">It is trying to define what= 0 means, which is the time that the LispWorks OS<br> process started in this case.<br> <br> I suggest just using the relative version.<br> <br> -- <br> Martin Simmons<br> LispWorks Ltd<br> <a href=3D"http://www.lispworks.com/" rel=3D"noreferrer" target=3D"_blank">= http://www.lispworks.com/</a><br> <br> <br> <br> >>>>> On Mon, 27 Jul 2026 11:57:12 +0200, Marco Antoniotti (= as marco dot antoniotti at unimib dot it) said:<br> > <br> > Hi<br> > <br> > I am dabbling with timers, but I am a bit confused by the documentatio= n.<br> > <br> > The documentation for schedule-timer says "Schedules a timer to e= xpire at a<br> > given time after the start of the program."<br> > The one for schedule-timer-relative says "Schedules a timer to ex= pire at a<br> > given time after this function is called."<br> > <br> > While the "relative" form is rather clear and intuitive (get= the current<br> > time schedule to timer x seconds later), I am a bit at a loss for the<= br> > absolute version.=C2=A0 How exactly do you get the "start of the = program"?<br> > <br> > Shall I just use the relative version?<br> > <br> > Thanks<br> > <br> > -- <br> > Marco Antoniotti, Professor, Director=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0tel. +39 - 02 64 48 79 01<br> > DISCo, University of Milan-Bicocca U14 2043=C2=A0 =C2=A0<a href=3D"htt= p://dcb.disco.unimib.it" rel=3D"noreferrer" target=3D"_blank">http://dcb.di= sco.unimib.it</a><br> > Viale Sarca 336<br> > I-20126 Milan (MI) ITALY<br> > <br> > REGAINS: <a href=3D"https://regains.disco.unimib.it/" rel=3D"noreferre= r" target=3D"_blank">https://regains.disco.unimib.it/</a><br> > <br> <br> _______________________________________________<br> Lisp Hug - the mailing list for LispWorks users<br> <a href=3D"mailto:[email protected]" target=3D"_blank">lisp-hug@lispwo= rks.com</a><br> <a href=3D"http://www.lispworks.com/support/lisp-hug.html" rel=3D"noreferre= r" target=3D"_blank">http://www.lispworks.com/support/lisp-hug.html</a><br> </blockquote></div><div><br clear=3D"all"></div><br><span class=3D"gmail_si= gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><d= iv dir=3D"ltr"><div><span style=3D"font-family:monospace">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-Bicocca U14 2043=C2=A0=C2=A0 <= a href=3D"http://dcb.disco.unimib.it" target=3D"_blank">http://dcb.disco.un= imib.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://regai= ns.disco.unimib.it/" target=3D"_blank">https://regains.disco.unimib.it/</a>= <br></span></div></div> --000000000000d5e8c206579da3c1-- _______________________________________________ Lisp Hug - the mailing list for LispWorks users [email protected] http://www.lispworks.com/support/lisp-hug.html