摘要:
1、自旋锁:参考博文https://blog.csdn.net/helloguoqijun/article/details/77489317 自旋锁是一种轻量级的互斥锁,可以更高效的对互斥资源进行保护。在短期间内进行轻量级的锁定。 和信号量、互斥锁的比较: 缺点:请求它的线程在等待锁重新可用的期间进 阅读全文
Mic_chenIt is not the strongest of the species that survive, nor the most intelligent, but the one most responsive to change |