How to count how many Timers are running

Mike Matthews - Omnis omnis at
Mon Feb 15 15:06:05 UTC 2021

So we should in fact run the check twice, with 10 seconds in-between maybe?

Mike Matthews

Lineal Software Solutions
Commercial House, The Strand<x-apple-data-detectors://1/1> Barnstaple, Devon, EX31 1EU<x-apple-data-detectors://1/1>

omnis at<mailto:mike.matthews at><><>

On 15 Feb 2021, at 11:16, Udo Sonnabend | WigaSoft AG <U.Sonnabend at<mailto:U.Sonnabend at>> wrote:

  Hi Phil
  Your args are correct. I am aware of that. Even, the $sendall command
  uses time to parse all classes and instances. A running (waiting)
  instance could be executed and finished before the $sendall is
  May be the $sendall has to be refined at bit, depending on the
  implementation of the timers.
  The $timeleft could be omitted and may be $autorestart included into
  the $sendall instead.
  Impudently, testing whether the $timer method of the instance is
  runnig, could be included in the $sendall. This is probably really time
  consuming and unreadable, but could go using sys(192) - I didnt test

  WigaSoft AG
  Udo Sonnabend
  Oberstrasse 222 | Postfach 51 | CH-9014 St. Gallen
  Telefon +41 71 274 51 31 | [1],1,Gb8Ow8OlH8KiCqbn39QsyJDUvU_wsWplRHfK9NhaeC3zLKzzCFRSdwUXcx3A5nWAcJUgQlGMriGGwN89HJGu-LH4APTGDyEN_kiDCEPm6q6vjM4RYzE,&typo=1 |
  [2]U.Sonnabend at<mailto:U.Sonnabend at>

  Diese Mitteilung kann persönliche, vertrauliche oder rechtlich
  geschützte Informationen enthalten und ist nur für die Verwendung durch
  den beabsichtigten Empfänger bestimmt. Auf Vertraulichkeit oder Rechte
  wird aufgrund von Fehlübertragungen nicht verzichtet. Wenn Sie nicht
  der beabsichtigte Empfänger dieser Mitteilung sind, dürfen Sie diese in
  keiner Form verwenden, verbreiten oder kopieren. Haben Sie diese
  Mitteilung irrtümlich erhalten, dann löschen Sie diese und allfällige
  Kopien und benachrichtigen Sie bitte unverzüglich den Absender – besten
  P Bitte denken Sie an die Umwelt, bevor Sie dieses Mail drucken. Think
  before print!
  -----Ursprüngliche Nachricht-----
  Von: omnisdev-en [[3]mailto:omnisdev-en-bounces at] Im
  Auftrag von Phil (OmnisList) via omnisdev-en
  Gesendet: Montag, 15. Februar 2021 11:35
  An: omnisdev-en at<mailto:omnisdev-en at>
  Cc: Phil (OmnisList) <phil at<mailto:phil at>>
  Betreff: Re: AW: How to count how many Timers are running
  Hi Udo,
  Great answer.
  I wonder if you need to check timeleft?
  At a moment in time, the timeleft may be zero whilst it does some
  processing, to be restarted afterwards... but there is still an
  instance of the object there?
  Would the timer be considered to still be running at that point?
  I guess it depends whether you want to know what timer is doing
  nothing, just waiting for time to pass, or how many timers you may have
  running at all.
  Not sure I've noticed $insts of an object before, guess I never needed
  to know, but good to know now.
  Phil Potter
  Based in Chester in the UK.
  On 13/02/2021 17:08, Udo Sonnabend | WigaSoft AG wrote:
   Hi Mike
   May be that helps:
   It creates a list of all Timers running with a $timeleft>0. May
  be you
   have to refine the $sendall a bit.
   Do #L1.$define(#S1)


   Regards, u.

   WigaSoft AG
   Udo Sonnabend
  Manage your list subscriptions at [4],1,KlgJf7W6c6yW7508D3NatqtkDGeZ0k0zzt4jut9TV0vASm6Aiuqdhy2RLCfVLXsIXaS0BSfRHZ0e7qRL-TvgJPCO1ZZYlt6tLZrHOXkoEoisA0A80yh2D-x9hg,,&typo=1 Start a
  new message -> [5]mailto:omnisdev-en at


  2. mailto:U.Sonnabend at
  3. mailto:omnisdev-en-bounces at
  5. mailto:omnisdev-en at
Manage your list subscriptions at,1,eDsVMMrTpp338JB2tEeo2x0EnTyCQLMn-rQ6mwHqExQVC7YL2xXOreEef_05QERzfE8fHK-cFlt_r7rdjyGca8f0CxmXVtj1gBPAJnLjmidJ0WhOoRE3&typo=1
Start a new message -> mailto:omnisdev-en at

More information about the omnisdev-en mailing list