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,ec4a7355f321a22b X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news1.google.com!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.news.pas.earthlink.net.POSTED!a6202946!not-for-mail From: Jeffrey Carter Organization: jrcarter commercial-at acm [period | full stop] org User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Task discriminants References: <40ACC50E.9040406@mail.usyd.edu.au> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Fri, 21 May 2004 01:04:22 GMT NNTP-Posting-Host: 63.184.32.205 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.news.pas.earthlink.net 1085101462 63.184.32.205 (Thu, 20 May 2004 18:04:22 PDT) NNTP-Posting-Date: Thu, 20 May 2004 18:04:22 PDT Xref: controlnews3.google.com comp.lang.ada:722 Date: 2004-05-21T01:04:22+00:00 List-Id: Georg Bauhaus wrote: > Martin Dowie wrote: > : You could consider putting Id and Next_Id in their own package. > > Or in a protected object. A protected object is not required. Invocations of Next_ID are guaranteed to be sequential. -- Jeff Carter "C++ is like jamming a helicopter inside a Miata and expecting some sort of improvement." Drew Olbrich 51