From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1c3d4536a687b7b0 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2000-09-05 17:19:20 PST Path: supernews.google.com!sn-xit-02!sn-east!supernews.com!news-feed.riddles.org.uk!newsfeed.direct.ca!look.ca!netnews.com!newspeer1.nac.net!yellow.newsread.com!netaxs.com!newsread.com!POSTED.newshog.newsread.com!not-for-mail Message-ID: <39B58F79.899FFFD2@telepath.com> From: Ted Dennison X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en,pdf MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada 95 tasking problems with Ada 83 code References: <39ADAE51.30550667@mtws.visicom.com> <39ADD3A3.381DEF17@ix.netcom.com> <39AF20CE.FDBDFFFE@mtws.visicom.com> <39AF2DEC.71D8B897@ix.netcom.com> <39B046AE.A05C82AA@mtws.visicom.com> <39B5298A.177B7C15@ix.netcom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 06 Sep 2000 00:19:01 GMT NNTP-Posting-Host: 38.195.186.125 X-Complaints-To: Abuse Role , We Care X-Trace: newshog.newsread.com 968199541 38.195.186.125 (Tue, 05 Sep 2000 20:19:01 EDT) NNTP-Posting-Date: Tue, 05 Sep 2000 20:19:01 EDT Organization: Telepath Systems (telepath.com) Xref: supernews.google.com comp.lang.ada:503 Date: 2000-09-06T00:19:01+00:00 List-Id: 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