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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,772ae8afc5db35f2 X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: Single Extension; Polymorphic Arrays Date: 1999/03/08 Message-ID: <7c1bvs$mtn$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 452674312 References: <36E40BD9.2652469B@averstar.com> X-Http-Proxy: 1.0 x7.dejanews.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Mon Mar 08 20:30:02 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.5 [en] (WinNT; I) Date: 1999-03-08T00:00:00+00:00 List-Id: In article <36E40BD9.2652469B@averstar.com>, Tucker Taft wrote: > or conditional entry call syntax can be used. Furthermore, even if it > is in a package body, to help the future reader/maintainer you would > have to say something like "only one instance of this type is allowed." > Seems a bit kludgey. Inadaquate as well. Someone trying to figure out why things don't seem to be synchronizing right would be forced to scrutinize the entire scope (if its declared in the spec, that's the entire codebase!) to see that everyone is using the same task/protected object. Having that guaranteed with a singleton is an immense help. T.E.D. -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own