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=0.0 required=5.0 tests=BAYES_00,INVALID_DATE, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,daad2c0a879de8fb,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 1995-01-17 09:46:54 PST Newsgroups: comp.lang.ada Path: nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!news.oleane.net!oleane!pipex!uunet!psinntp!ss3!jakrzy From: jakrzy@ss3.magec.com (James A. Krzyzanowski) Subject: Re: One-time object Message-ID: Organization: Magnavox Electronics Systems Company X-Newsreader: TIN [version 1.2 PL2] References: <19950116.045549.910@vnet.ibm.com> Date: Tue, 17 Jan 1995 17:46:54 GMT Date: 1995-01-17T17:46:54+00:00 List-Id: Keith Arthurs (karthurs@vnet.ibm.com) wrote: : In article <"bOc9v2.0.Fr5.VGz5l"@autan>, : on 14 Jan 1995 14:39:45 +0100, : Samuel Tardieu writes: : >I've got two questions for you adaers, which may be in fact one single : >question: : > : �snip� : Yep, it is one question. In Ada, when you have a package that gets with'ed : more than one time, there is only one instance of the package. So any tasks : or objects contained inside the package only have one copy for the executable. : If you need more than one copy of a package and its objects & tasks, you : could create a generic and instantiate it for each instance that you need. Also, if you needed more than one copy of the task, you could use task types... -- --------------------------------------------------------------------------- James A. Krzyzanowski - Senior Software Engineer - AFATDS Magnavox Electronic Systems Company * Fort Wayne, IN 46808 * (219) 429-6446 jakrzy@most.magec.com Opinions_Expressed := (Mine and not Magnavox);