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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2ef9ab4638027d85 X-Google-Attributes: gid103376,public From: rgilbert@polaris.orl.mmc.com (Bob Gilbert) Subject: Re: Uninterruptible (atomic) operation? Date: 1996/12/10 Message-ID: <58jjq2$a3@zeus.orl.mmc.com>#1/1 X-Deja-AN: 203312381 references: organization: Lockheed Martin Electronics and Missiles reply-to: rgilbert@polaris.orl.mmc.com newsgroups: comp.lang.ada Date: 1996-12-10T00:00:00+00:00 List-Id: In article , bobduff@world.std.com (Robert A Duff) writes: > In article <9612091326.AA04263@most>, > W. Wesley Groleau (Wes) wrote: > >(And if we used Ada-95 we could use pragma Atomic.) > > Pragma Atomic is essentially the same thing as Ada 83's pragma Shared. > I don't think it's what you want in this case. > > - Bob Perhaps it is just too obvious, or I don't understand the question, but isn't this sort of thing that protected types (Ada 95) or critical regions of tasks (both Ada 83 and 95) are all about? - Another Bob