|
|
1.1 root 1:
2:
3: volatile C Keyword volatile
4:
5:
6:
7:
8: Qualify an identifier as frequently changing
9:
10:
11: The type qualifier volatile marks an identifier as being fre-
12: quently changed, either by other portions of the program, by the
13: hardware, by other programs in the execution environment, or by
14: any combination of these. This alerts the translator to re-fetch
15: the given identifier whenever it encounters an expression that
16: includes the identifier. In addition, an object marked as
17: volatile must be stored at the point where an assignment to this
18: object takes place.
19:
20: ***** See Also *****
21:
22: C keyword, const
23:
24: ***** Notes *****
25:
26: Although COHERENT recognizes this keyword, the semantics are not
27: implemented in this release. Thus, storage declared to be
28: volatile might have references removed by optimizations that the
29: compiler performs. The compiler will generate a warning if the
30: peephole optimizer is enabled and the keyword volatile is
31: detected.
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.