Using just MFENCE would require some kind of separate lock implemented without atomic RMW operations, if that's possible.
使用MFENCE将需要某种单独的锁实现没有原子rmw操作,如果可能的话。
Therefore, the lock implementation has to open an additional connection to DB2 in a separate thread. So the implementation of the lock function consists of the following steps.
因此,lock的实现必须在一个单独的线程中打开额外的DB 2连接。
Using a separate file to indicate a lock is an old way of doing things.
使用单独的文件来表示锁是一个非常古老的方法。
应用推荐