多线程while(!state){}有问题,volatile优化,sleep睡着之后唤醒,刷新变量缓存

https://ask.csdn.net/questions/664596

https://www.cnblogs.com/mengdd/archive/2013/02/16/2913659.html

posted on 2019-08-15 23:13  CreatorKou  阅读(236)  评论(0编辑  收藏  举报

导航