comp.lang.ada
 help / color / mirror / Atom feed
From: "Theodore E. Dennison" <dennison@escmail.orl.mmc.com>
Subject: Re: GNAT R/T Annex and Win95
Date: 1996/04/22
Date: 1996-04-22T00:00:00+00:00	[thread overview]
Message-ID: <317BC037.1CFBAE39@escmail.orl.mmc.com> (raw)
In-Reply-To: 96041916380674@psavax.pwfl.com

Marin David Condic, 407.796.8997, M/S 731-93 wrote:
> 
>     Here's an interesting question which we've been thinking about
>     around here a lot:
> 
>     Do you consider Windows NT capable of being a "realtime" operating
>     system? (It doesn't seem to be advertised as such.... yet.)
> 

A straight NT question in an Ada group, huh? Oh well...

When you say "real-time", typically I think of a system with a clock
which is capable of generating software iterrupts every 10msec or
better, and some way of knowing when you have failed to service
an interrupt.

According to my NT book, there are two ways to do Timers with NT. The
first uses the SetTimer system call. This will put a WM_TIMER event
in the thread's normal message queue.  The resolution is ABOUT 55
milliseconds, but there can be message queue delays. Not very useful.

The second is the "Multimedia Timer". This timer allows you to define
a callback that will get called directly by an interrupt, without any
message queue processing overhead. The resolution is said to be 
"about 16 (Intel) milliseconds". Whatever that means, you can get the
exact resolution on your system via a call to "timeGetDevCaps". (Oddly
enough, Microsoft's example uses a resolution of 5 milliseconds) This
is a little more useful, but still not what we would like to see. 

-- 
T.E.D.          
                |  Work - mailto:dennison@escmail.orl.mmc.com  |
                |  Home - mailto:dennison@iag.net              |
                |  URL  - http://www.iag.net/~dennison         |




  parent reply	other threads:[~1996-04-22  0:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-19  0:00 GNAT R/T Annex and Win95 Marin David Condic, 407.796.8997, M/S 731-93
1996-04-20  0:00 ` Tom Griest
1996-04-20  0:00 ` Wiljan Derks
1996-04-20  0:00 ` ADA, Windows NT and Real-Time (was GNAT R/T Annex and Win95) Brian K. Catlin
1996-04-21  0:00   ` steved
1996-04-21  0:00     ` Brian K. Catlin
1996-04-20  0:00 ` GNAT R/T Annex and Win95 Robert Dewar
1996-04-27  0:00   ` Dave Wood
1996-04-27  0:00     ` Robert Dewar
1996-04-22  0:00 ` Theodore E. Dennison [this message]
1996-04-23  0:00   ` Wiljan Derks
1996-04-22  0:00 ` Greg Bond
  -- strict thread matches above, loose matches on Subject: below --
1996-04-23  0:00 Marin David Condic, 407.796.8997, M/S 731-93
1996-04-23  0:00 ` Theodore E. Dennison
1996-04-16  0:00 Greg Bond
1996-04-17  0:00 ` Tom Griest
1996-04-18  0:00 ` Robert Dewar
1996-04-22  0:00   ` Greg Bond
     [not found] ` <4l2sliINNl7m@ra.dept.cs.yale.edu>
1996-04-18  0:00   ` Dale Pontius
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox