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.0 required=5.0 tests=BAYES_20,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3674250054e18a5a,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!a3g2000cwd.googlegroups.com!not-for-mail From: "mark" Newsgroups: comp.lang.ada Subject: Getting delay of two events Date: 28 Dec 2006 07:47:14 -0800 Organization: http://groups.google.com Message-ID: <1167320834.211528.106660@a3g2000cwd.googlegroups.com> NNTP-Posting-Host: 81.202.207.104 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" X-Trace: posting.google.com 1167320850 31700 127.0.0.1 (28 Dec 2006 15:47:30 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 28 Dec 2006 15:47:30 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: a3g2000cwd.googlegroups.com; posting-host=81.202.207.104; posting-account=AT6Ezw0AAACF85gqHL3KsV2W8So8XSha Xref: g2news2.google.com comp.lang.ada:8031 Date: 2006-12-28T07:47:14-08:00 List-Id: Hello, I have an external library with a task and a function getSync which returns boolean value (true if it is in sync position, false otherwise). Now I would like to create another task which will get the time between two sync (i.e. moments of time when the get_sync function returns true). Any ideas how can I make it?? Regards, marc