comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@telepath.com>
Subject: Re: Tasking and blocked threads
Date: 1999/09/10
Date: 1999-09-10T00:00:00+00:00	[thread overview]
Message-ID: <7rb6es$ebh$1@nnrp1.deja.com> (raw)
In-Reply-To: 37D849AE.AC5EA4F1@res.raytheon.com

In article <37D849AE.AC5EA4F1@res.raytheon.com>,
  Andy Askey <askeya@res.raytheon.com> wrote:

> I added delay statements to see if one task would block the other, but
> it did not.  I added a Task_Two package and execution control was
passed
> between all three threads. I thought I understood from previous
answers
> that this was not expect behavior.  Does this mean I can write an
Ada95
> program with several independent tasks and not worry about one task
> blocking another?  (Stealing CPU cycles yes, but not really blocking.)

That depends entirely on your tasking model. The only one defined by the
language is FIFO_Within_Priorities (and that only if your compiler
supports annex D).


--
T.E.D.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.




  parent reply	other threads:[~1999-09-10  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-09  0:00 Tasking and blocked threads Andy Askey
1999-09-10  0:00 ` Robert A Duff
1999-09-10  0:00 ` Ted Dennison [this message]
1999-09-11  0:00 ` Martin Dowie
replies disabled

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