volatile
摘要
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.