home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH03 / A03146.TXT < prev    next >
Encoding:
Text File  |  1993-11-17  |  384 b   |  7 lines

  1. When you declare an object to be volatile, you are giving a
  2. suggestion to the compiler to avoid optimizations involving this
  3. object.  Volatile objects are usually variables whose values might
  4. change in ways that are not visible to the compiler.  For example,
  5. your program might access the system clock.  The exact treatment
  6. of volatile objects varies from compiler to compiler.
  7.