Mic_chen

It is not the strongest of the species that survive, nor the most intelligent, but the one most responsive to change

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2022年7月20日

摘要: 1、自旋锁:参考博文https://blog.csdn.net/helloguoqijun/article/details/77489317 自旋锁是一种轻量级的互斥锁,可以更高效的对互斥资源进行保护。在短期间内进行轻量级的锁定。 和信号量、互斥锁的比较: 缺点:请求它的线程在等待锁重新可用的期间进 阅读全文
posted @ 2022-07-20 11:51 Mic_chen 阅读(28) 评论(0) 推荐(0) 编辑