From: george.priv@gmail.com
Subject: delay until problem in Windows
Date: Sat, 5 Apr 2008 15:51:24 -0700 (PDT)
Date: 2008-04-05T15:51:24-07:00 [thread overview]
Message-ID: <b5e8b5e8-f725-4891-a931-b41ae96e2c53@m71g2000hse.googlegroups.com> (raw)
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.
next reply other threads:[~2008-04-05 22:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-05 22:51 george.priv [this message]
2008-04-06 21:04 ` delay until problem in Windows Jacob Sparre Andersen
2008-04-07 3:32 ` george.priv
2008-04-07 3:10 ` george.priv
2008-04-07 7:25 ` Dmitry A. Kazakov
2008-04-07 14:43 ` george.priv
2008-04-07 14:51 ` george.priv
2008-04-08 11:02 ` Alex R. Mosteo
2008-04-09 14:56 ` george.priv
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox