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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,30bb735cf84485f7,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!postnews.google.com!m71g2000hse.googlegroups.com!not-for-mail From: george.priv@gmail.com Newsgroups: comp.lang.ada Subject: delay until problem in Windows Date: Sat, 5 Apr 2008 15:51:24 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 151.196.71.114 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1207435885 9439 127.0.0.1 (5 Apr 2008 22:51:25 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 5 Apr 2008 22:51:25 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m71g2000hse.googlegroups.com; posting-host=151.196.71.114; posting-account=VnNb3AoAAACTpRtCcTrcjmPX7cs92k1Q User-Agent: G2/1.0 X-HTTP-Via: 1.1 SPARKS X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:20844 Date: 2008-04-05T15:51:24-07:00 List-Id: Simplified code: task body Some_task is Time_For_Next_Frame : time; procedure Fetch_Frame is -- Here is where Time_For_Next_Frame is calculated begin Send_Frame; Time_For_Next_Frame := Clock + Desired_Delta_T; end Fetch_Frame; begin loop select ... or delay until Time_For_Next_Frame; Fetch_Frame; end loop; end Some_Task; Symptoms: After over 24+ hour operations it seems that delay gives no delay no matter what value there is on Windows system . On Linux all is fine. If I replace delay statement with delay Desired_Delta_T; all seemed fine. Does anyone knows of that limitation? George.