Let's look at the full lock variety first.
首先看一下完全锁。
The example above shows how to fill the lock table for two full-text index resources.
上面的示例演示如何在锁表中填充两个全文索引资源。
LOCK-Based Critical Sections: Although a LOCK-UNLOCK pair does not act as a full memory barrier, these operations do affect memory ordering. Consider the following code.
锁保护的临界区:经lock - UNLOCK对不能实现完全的内存屏障的功能,但是,它们也的确会影响内存访问顺序,参考下面的示例代码。
应用推荐