std::atomic_flag and spinlock
std::atomic_flag 的一个非常重要的application就是实现spinlock,下面是一些总结。
std::atomic_flag # Example
NOTE: 参见前面章节
std::atomic_flag and spinlockstd::atomic_flag 的一个非常重要的application就是实现spinlock,下面是一些总结。
NOTE: 参见前面章节