From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,5b528da331e8df66 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.188.52 with SMTP id fx20mr2784798wic.3.1365451619859; Mon, 08 Apr 2013 13:06:59 -0700 (PDT) Path: p18ni45336wiv.0!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.131.MISMATCH!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.thorslund.org!news.jacob-sparre.dk!hugin.jacob-sparre.dk!nuzba.szn.dk!pnx.dk!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Marble Clock Date: Wed, 03 Apr 2013 17:53:31 +0100 Organization: A noiseless patient Spider Message-ID: References: <7075541f-01b7-4cd4-997f-b0b8048f067d@googlegroups.com> Mime-Version: 1.0 Injection-Info: mx05.eternal-september.org; posting-host="72a7bb6120f61bc7749e29c9c2e535af"; logging-data="17593"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+gUEtFafB7JrI6WbJwNGXdTzuAX/T8aZY=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (darwin) Cancel-Lock: sha1:N90JDFtwBgrV4cWXTSjx5CR9lJY= sha1:jzs1oV08pyjJsX6x5Wq55FzxzIo= Content-Type: text/plain Date: 2013-04-03T17:53:31+01:00 List-Id: Simon Wright writes: > You (gattameini) definitely should *not* use more than one timer > function (when_to_run := when_to_run + 1.0; delay until when_to_run;), > for when the next marble is to enter the top tray. Sorry, I've just re-read the question: that should be 60.0 seconds, not 1.0! The point I was trying & probably failing to make is that 'delay 60.0' results in a delay of _at least_ 60 seconds, which would make your clock run slow. This is rather an advanced point, probably not relevant to your exercise.