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.3 required=5.0 tests=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,acefc8d2b252a0d9 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-26 08:23:54 PST Message-ID: <3BD97F45.127A44B5@sparc01.ftw.rsc.raytheon.com> From: Wes Groleau Reply-To: wwgrol@sparc01.ftw.rsc.raytheon.com X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,es-MX,es,pt,fr-CA,fr MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Tasks sharing a protected object References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Fri, 26 Oct 2001 10:20:37 -0500 NNTP-Posting-Host: 151.168.144.162 X-Complaints-To: news@ext.ray.com X-Trace: bos-service2.ext.raytheon.com 1004109721 151.168.144.162 (Fri, 26 Oct 2001 11:22:01 EDT) NNTP-Posting-Date: Fri, 26 Oct 2001 11:22:01 EDT Organization: Raytheon Company Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!easynews!news.city-guide.com!attdl1!attdl2!attsl2!attla2!ip.att.net!bos-service1.ext.raytheon.com!bos-service2.ext.raytheon.com.POSTED!not-for-mail Xref: archiver1.google.com comp.lang.ada:15258 Date: 2001-10-26T10:20:37-05:00 List-Id: Martin Magnusson wrote: > > I want to have two tasks sharing a protected object with data used by > both tasks. How do I make them see the same object? I have three > files defining the different types, skeletons for them are shown > below. How can I set the object to use when declaring the task types? Put them all in the same package--obviously they're related. Or put the common stuff in one package and put the tasks in child packages. If you want the common stuff visible only to those tasks, put it in a private child. -- Wes Groleau http://freepages.rootsweb.com/~wgroleau