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,e99127607a281e0a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-26 03:37:36 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!bstnma1-snf1.gtei.net!chcgil2-snh1.gtei.net!chcgil2-snf1.gtei.net!news.gtei.net!news.binc.net!kilgallen From: Kilgallen@SpamCop.net (Larry Kilgallen) Newsgroups: comp.lang.ada Subject: Re: tasks Date: 26 Feb 2002 05:37:30 -0600 Organization: LJK Software Message-ID: References: <3c7b4e05$1@news.starhub.net.sg> NNTP-Posting-Host: eisner.encompasserve.org X-Trace: grandcanyon.binc.net 1014723454 2746 192.135.80.34 (26 Feb 2002 11:37:34 GMT) X-Complaints-To: abuse@binc.net NNTP-Posting-Date: Tue, 26 Feb 2002 11:37:34 +0000 (UTC) Xref: archiver1.google.com comp.lang.ada:20451 Date: 2002-02-26T05:37:30-06:00 List-Id: In article <3c7b4e05$1@news.starhub.net.sg>, "Edmund" writes: > I'm a Ada novice and have this question: > can tasks be implemented across 2 different packages? Yes. You can think of a task as an execution context. A package is more like a collection of subprograms and types. For beginners doing small programs, the most important consideration for package design is to restrict a package to "similar" things so that when certain types and subprograms are needed for a particular program, you can easily specify inclusion of the appropriate package.