while(条件判断){
//停留一纳秒
LockSupport.parkNanos(1L);
}
JAVA日常游玩----简单的自旋锁
猜你喜欢
转载自blog.csdn.net/qq_33121481/article/details/84850035
今日推荐
周排行