Listing 3. Empty classes used in pair take up more memory.
清单3 . pair中使用的空类占用了更多内存。
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对不能实现完全的内存屏障的功能,但是,它们也的确会影响内存访问顺序,参考下面的示例代码。
Not only a full vector prestored in associative memory can be recalled from a partial information of the vector, but the other vector of the prestored vector pair can also be recalled.
用预先贮存的矢量对中的一个矢量的部分信息不但能取出这个矢量的完整矢量,而且能取出这个矢量对中的另一个矢量。
应用推荐