comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: Concurrency in Gnat 3.05?
Date: 1996/07/18
Date: 1996-07-18T00:00:00+00:00	[thread overview]
Message-ID: <dewar.837740961@schonberg> (raw)
In-Reply-To: 4smktd$phu@masala.cc.uh.edu


Spasmo says

"Well others did manage to do it, so I had assumed that GNAT
was the same.  Still it's a shame not having tasks that
time slice, I mean it doesn't really seem all that big a
deal to have tasking when they don't appear to run
concurrently.  Entries into them and all are allright,
but still without time slicing..."


That's quite wrong. Serious use of tasking for real-time programs
generally prefers to completely avoid time slicing. That is why the
requirement in the real time annex of Ada is that time slicing must
NOT occur using the default scheduling policy (FIFO_Within_Priorities).

Generally time slicing can be made available on many operating systems,
but it is a bit tricky in DOS, because of limitations in the operating
system. It certainly would be possible, but since it is not required (in
fact it is only permitted as an option), it is not a high priority item.

If what you want is effective concurrency between multiple threads, there
are many ways to achieve this in correctly programmed Ada. An Ada program
that depends on time slicing is non-portable.





  reply	other threads:[~1996-07-18  0:00 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4sjqte$3mu@masala.cc.uh.edu>
1996-07-18  0:00 ` Concurrency in Gnat 3.05? Robert Dunn
1996-07-19  0:00   ` Spasmo
1996-07-18  0:00     ` Robert Dewar [this message]
1996-07-20  0:00       ` Michael Feldman
1996-07-19  0:00   ` Jon S Anthony
1996-07-19  0:00     ` Robert Dewar
1996-07-20  0:00     ` Michael Feldman
1996-07-24  0:00     ` Jon S Anthony
1996-07-22  0:00   ` Jon S Anthony
1996-07-22  0:00   ` Jon S Anthony
1996-07-22  0:00   ` Jon S Anthony
1996-07-24  0:00     ` Michael Feldman
1996-07-24  0:00   ` Jon S Anthony
1996-07-18  0:00 ` Jerry van Dijk
1996-07-20  0:00   ` Robert Dewar
1996-07-20  0:00   ` Robert Dewar
1996-07-18  0:00 ` Robert Dewar
1996-07-19  0:00   ` Spasmo
1996-07-19  0:00     ` Tucker Taft
1996-07-18  0:00 ` Samuel Tardieu
1996-07-20  0:00   ` Robert Dewar
1996-07-20  0:00     ` Michael Feldman
1996-07-18  0:00 ` Kevin J. Weise
1996-07-20  0:00 ` Michael Feldman
1996-07-20  0:00   ` Robert Dewar
1996-07-21  0:00   ` Jerry van Dijk
1996-07-24  0:00   ` Spasmo
replies disabled

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