comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@telepath.com>
Subject: Re: Ada 95 tasking problems with Ada 83 code
Date: Wed, 06 Sep 2000 00:19:01 GMT
Date: 2000-09-06T00:19:01+00:00	[thread overview]
Message-ID: <39B58F79.899FFFD2@telepath.com> (raw)
In-Reply-To: 39B5298A.177B7C15@ix.netcom.com

Richard Riehle wrote:

> Wayne Lydecker wrote:
>
> >
> > The original developers of our software were task and generic happy (some
> > generics are up to three levels deep).  There is no valid reason that it has
> > 100 tasks and I'd like to strip it down to a half dozen or so.
>
> Be careful about this kind of decision.   All too often a designer intuits that less

...

> issues before simply changing the number of tasks in the design.  Also, with Ada 95,
> many chores previously handed off to an active task can be more efficiently executed
> through a protected type.   If you have not looked at protected types, this would be a

That's my experience with Ada83 programs with large numbers of tasks as well. You end up
having to create tons of extra tasks and task types to handle inter-task synchornization
issues. Such issues can typically be handled with protected types now. So he may have some
real success in reducing the amount of tasks just by converting some of them to protected
objects.


--
T.E.D.

Home - mailto:dennison@telepath.com  Work - mailto:dennison@ssd.fsi.com
WWW  - http://www.telepath.com/dennison/Ted/TED.html  ICQ  - 10545591





  reply	other threads:[~2000-09-06  0:19 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-30  0:00 Ada 95 tasking problems with Ada 83 code Wayne Lydecker
2000-08-30  0:00 ` Richard Riehle
2000-08-30  0:00   ` Wayne Lydecker
2000-08-31  0:00     ` Jeff Creem
2000-08-31 20:07     ` Robert Barron
2000-09-01  3:21   ` Wayne Lydecker
2000-09-01  4:17     ` Richard Riehle
     [not found]       ` <39B046AE.A05C82AA@mtws.visicom.com>
2000-09-02  1:04         ` Jeff Creem
2000-09-05 19:11           ` Richard Riehle
2000-09-05 17:12         ` Richard Riehle
2000-09-06  0:19           ` Ted Dennison [this message]
2000-09-06  2:38           ` Wayne Lydecker
2000-09-07  5:35             ` Simon Wright
2000-09-02 22:54       ` Pat Rogers
2000-09-05 17:31         ` Richard Riehle
2000-09-05 18:51           ` Pat Rogers
2000-09-05 19:00             ` Richard Riehle
2000-09-05 19:33               ` Pat Rogers
2000-09-01 20:01     ` Robert A Duff
2000-08-31 16:00 ` Bill Dale
2000-08-31 17:57   ` Richard Riehle
replies disabled

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