原子
https://www.cnblogs.com/chengxiao/p/6528109.html?from=singlemessage
https://www.cnblogs.com/yc_sunniwell/archive/2010/06/24/1764231.html
https://www.embedded.com/guidelines-for-handling-volatile-variables/