这有助于应用程序避免全局死锁。
因此运行并发线程时,出现了死锁。
任何多线程应用程序都有死锁风险。
With any multithreaded application, there is a risk of deadlock.
计数器计算增加的值,比如死锁数。
A counter enumerates values that increase, such as the number of deadlocks.
死锁也会发生在单独的线程中。
同时,还可能出现死锁的情况。
Locking跟踪——死锁报告。
您认识到了死锁的可能性吗?
在上面的示例中,死锁比较容易发现。
In the above example, the deadlock is relatively easy to spot.
根据死锁报告来分析锁信息。
该工具还执行死锁检测。
数据库识别出死锁事件。
以上代码可能导致死锁。
要尽量避免的锁影响是挂起、超时和死锁。
The effects of locks that you always want to minimize are suspension, timeout, and deadlock.
有了这些信息,就应当可以解决死锁问题了。
With all of this information, it should be possible to resolve the deadlock.
终结也可能导致死锁。
按照死锁的定义,在这种情况下会发生死锁。
In this situation, the deadlock occurred according to the deadlock definition.
这样做的目的是避免使用空数据时出现的死锁。
This is done to avoid deadlocks while working with an empty database.
这种情况就是死锁。
但是当死锁的频率或比例较高时容易出现问题。
However, it can be a problem when the frequency or percentage of deadlocks is high.
即使数据源支持xa事务,还会有死锁的可能。
Even if the datasource supports XA transactions, there is a possibility of deadlock.
死锁事件异常,用于帮助确定发生死锁的时间。
Deadlock event exception, which is used to help investigate when deadlocks have occurred.
表1总结死锁分析。
这个类用于封装一个死锁中每个代理的相关信息。
This class encapsulates information about each agent involved in a deadlock alert.
这个图必须是无环的,以避免造成调度上的死锁。
The graph must be acyclic to avoid program scheduling deadlocks.
否则将发生死锁。
您已经得到死锁跟踪报告和SQL语句报告。
You have obtained a deadlock trace report and an SQL statement report.
也不必担心死锁。
因此发生死锁。
采用锁的程序必须非常小心,以免产生死锁的情况。
A program taking a lock must take great care not to create a deadlock situation.
应用推荐