C has the volatile keyword. It’s often misunderstood and consequently used incorrectly. It has only three narrow uses: optimization suppression, signal handlers, and with setjmp. This chapter covers those uses and some wrong uses.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

volatile

  • Paul J. Lucas

摘要

C has the volatile keyword. It’s often misunderstood and consequently used incorrectly. It has only three narrow uses: optimization suppression, signal handlers, and with setjmp. This chapter covers those uses and some wrong uses.