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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.182.240.137 with SMTP id wa9mr28203834obc.16.1458668440438; Tue, 22 Mar 2016 10:40:40 -0700 (PDT) X-Received: by 10.157.13.83 with SMTP id 77mr65236oti.14.1458668440358; Tue, 22 Mar 2016 10:40:40 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!goblin1!goblin.stu.neva.ru!av4no1731395igc.0!news-out.google.com!u9ni4098igk.0!nntp.google.com!nt3no3908716igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 22 Mar 2016 10:40:40 -0700 (PDT) In-Reply-To: <2c50ad2f-e6d5-4dc9-b4d1-905409311a97@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=67.0.61.30; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 67.0.61.30 References: <2c50ad2f-e6d5-4dc9-b4d1-905409311a97@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Assignment with Adjust and Task Safety From: Shark8 Injection-Date: Tue, 22 Mar 2016 17:40:40 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:29846 Date: 2016-03-22T10:40:40-07:00 List-Id: Well, one solution is to forgo assignment, making them limited, and providi= ng all the subprograms to manipulate them in the package that declares them= ... if you want to be extra-sure then in the body declare a protected objec= t that does the actual manipulation (this should prevent it from being inte= rrupted) and make the bodies of the publicly accessible subprograms renamin= gs of the protected-object's subprograms.