For example, if a thread enters a lock in upgradeable mode and then enters the lock in write mode, the order in which the thread exits the two modes does not matter.
例如,如果一个线程先进入可升级模式锁定状态,然后再进入写入模式锁定状态,则线程可以任何顺序退出这两种模式。
For example, if a thread enters a lock in upgradeable mode and then enters the lock in write mode, the order in which the thread exits the two modes does not matter.
例如,如果一个线程先进入可升级模式锁定状态,然后再进入写入模式锁定状态,则线程可以任何顺序退出这两种模式。
应用推荐