Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!pasteur!ucbvax!ucsd!sdcsvax!ucsdhub!hp-sdd!hplabs!hpcea!hpfcdc!hpislx!hplvla!hplvly!boyne From: boyne@hplvly.HP.COM (Art Boyne) Newsgroups: comp.lang.c Subject: Re: Re: volatile: is NOT a frill, is increasingly necessary Message-ID: <3950002@hplvly.HP.COM> Date: 5 Apr 88 14:43:27 GMT References: <1975@winchester.mips.COM> Organization: HP Loveland Inst Div, CO Lines: 16 As regards the "volatile" discussion: There are many of us out here who use C in other than Un*x applications. For example, C is now the language of choice in this division of Hewlett-Packard for all firmware going into instruments. The existing C compiler doesn't support the keyword "volatile" but does support a compiler directive $AMNESIA ON$, which gives somewhat the same effect. This directive is used in a lot of sources that deal directly with the hardware; without it, we get the optimize-into-oblivion behavior described in the base note. For all of us in nitty-gritty land, lets hear it for volatile! Art Boyne, hplabs!hplvly!boyne