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,751584f55705ddb7 X-Google-Attributes: gid103376,public From: jsa@organon.com (Jon S Anthony) Subject: Re: Ada is almost useless in embedded systems Date: 1996/02/19 Message-ID: #1/1 X-Deja-AN: 140161768 sender: news@organon.com (news) references: <823906039.22113@assen.demon.co.uk> organization: Organon Motives, Inc. newsgroups: comp.lang.ada Date: 1996-02-19T00:00:00+00:00 List-Id: In article <824495640.102@assen.demon.co.uk> john@assen.demon.co.uk (John McCabe) writes: > >In passing, it may be of interest to note that the original VAX Ada > >did not implement shared, and opted instead to implement a pragma > >volatile. Volatile basically did the "optimization" bit that you are > >concerned about, but explicitly did _not_ provide for indivisible > >operations. > > That's interesting and sound like what Ada95 does (according to Robert > Dewar's comment elsewhere). Not quite. Ada95 _splits_ these two things between pragma volatile and pragma atomic. /Jon -- Jon Anthony Organon Motives, Inc. 1 Williston Road, Suite 4 Belmont, MA 02178 617.484.3383 jsa@organon.com