Even with a few failed CAS operations, this approach is still likely to be faster than being rescheduled because of lock contention.
即使有少量失败的CAS操作,这种方法仍然会比由于锁争用造成的重新调度快得多。
2
DB2 LUW 9.7 offers an integrated approach to analyzing any kind of concurrency issue that replaces the lock analysis methods used in previous DB2 LUW releases.
DB 2 LUW 9.7提供了一种集成方式来分析所有种类的并发性问题,它也取代了以前DB 2 LUW发行版中使用的锁分析的方法。
3
Another approach is to use POSIX record locks, implemented through FCNTL (2) as a discretionary lock.