spinlock lock的意思|示意

美 / / 英 / /

自旋锁锁


spinlock lock的网络常见释义

定义一个自旋锁 ... Linux中与自旋锁相关的操作主要有下面4种: spinlock lock; /* 定义一个自旋锁 */ spin_lock_init(&lock);/* 获取自旋锁,保护临界区 */ ...

spinlock lock相关例句

Obviously, if your use of the lock is reader/writer in nature, this spinlock should be used over the standard spinlock, which doesn't differentiate between readers and writers.

显然,如果您使用的是原版的读/写锁,那么按照标准自旋锁的用法使用这个自旋锁,而不区分读线程和写线程。