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.1 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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-08-31 09:05:30 PST Path: supernews.google.com!sn-xit-02!sn-east!supernews.com!newspeer.monmouth.com!xfer13.netnews.com!netnews.com!cpk-news-hub1.bbnplanet.com!denver-news-feed1.bbnplanet.com!news.gtei.net!coop.net!newsfeed1.global.lmco.com!svlss.lmms.lmco.com!not-for-mail From: Bill Dale Newsgroups: comp.lang.ada Subject: Re: Ada 95 tasking problems with Ada 83 code Date: Thu, 31 Aug 2000 09:00:36 -0700 Organization: Lockheed Martin - Missiles & Space Message-ID: <39AE8124.8066929@lmco.com> References: <39ADAE51.30550667@mtws.visicom.com> Reply-To: william.dale.jr@lmco.com NNTP-Posting-Host: 165.80.70.159 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.72 [en] (WinNT; U) X-Accept-Language: en Xref: supernews.google.com comp.lang.ada:437 Date: 2000-08-31T09:00:36-07:00 List-Id: Wayne Lydecker wrote: > > I am porting a huge program from Ada 83 on HP-UX to GNAT Ada 95 on a PC > running Linux. I would recommend a two step process. First get the code running with Gnat Ada95 on the HP-UX system. This eliminates any Ada95 or Gnat issues. Then port to the PC using Gnat Ada 95. Creating the executable was not a big problem, but I > can't get it to run very far. It appears that when a procedure rendezvous' > with a task, the task won't run. The task has a simple accept statement, > and it appears to accept the rendezvous because the calling routine > continues to process. Text_IO calls before and after the accept statement > in the task fail to appear on the screen though. If I put a "do ... end" > on the accept statement then the caller no longer continues (i.e. > suspended). > If you are running on Windows any real-time performance is not predictable. Windows is not a real-time OS or even close. The comments about Rate Monotonic Analysis of your tasking design are very valid. I recommend "Concurrency with Ada" by Weller as a good reference on Ada 95 tasking issues. > Is this a known problem? Is there a solution other then removing all > tasks in our program (over 100). > > Thanks, > > Wayne Lydecker > wayne@visicom.com William L. Dale "If we spend all of our time in ADM's talking about TLA's we'll be SOL!" Speaking for myself Lockheed Martin, Space Systems Company, Missiles & Space -Sunnyvale Operations mailto:william.dale.jr@lmco.com