It has much better integrity than optimistic locking but requires you to be careful with your application design to avoid Deadlocks.
它拥有比乐观锁更好的完整性,但是需要你小心设计应用程序以避免死锁。
In complex Web environments, just like any other application, you need to be able to determine where any deadlocks are originating.
就像其他应用程序一样,在复杂Web环境中也需要能够确定任何死锁的起因。
However, it is usually possible to diluent deadlocks altogether by following certain software design practices.
但是,通过可靠的软件设计实践活动通常可以防止死锁的发生。
This event is not generated for system tasks or for tasks that are waiting on resources that do not generate detectable deadlocks.
对于系统任务或正在等待未生成可检测死锁的资源的任务,不生成该事件。
My hope is that this final major summit before Copenhagen can help ease deadlocks, particularly between the developed and developing world.
希望是,在哥本哈根会议之前的最后一次重要首脑会议能够缓解特别是在发达国家和发展中国家之间的僵局。
Deadlocks of this nature can be resolved using some of the debugging features described in the first article of this series.
这种性质的死锁可以用本系列的第一篇文章中描述的某些调试特性来解决。
Multiple servers and processes trying to update the same variables at the same time result in deadlocks, time-outs, and failed transactions.
尝试同时升级同一变量的多个服务器和进程可能会导致死锁、超时以及失败的事务。
Although deadlocks cannot be completely avoided , following certain coding conventions can minimize the chance of generating a deadlock .
尽管死锁不能完全避免,但遵守特定的编码惯例可以将发生死锁的机会降至最低。
However, it is usually possible to prevent deadlocks altogether by following certain software design practices.
的软件设计实践活动通常可以防止死锁的。
After formatting the event monitor files, typically you should be able to find all the SQL statements participating in the deadlocks.
在格式化事件监控器文件之后,通常您能够找到所有参与死锁的SQL语句。
Many methods of the managed threading classes provide time-outs to help you detect deadlocks.
托管线程处理类的许多方法都提供了超时设定,可帮您检测到死锁。
The new lock event monitor collects information about lock timeouts, deadlocks, and lock waits that are more than a specified duration.
新的锁事件监视程序收集关于锁超时、死锁和超过指定时间段的锁等待的信息。
That tends to produce deadlocks.
僵局就此产生。
Other thread-related bugs are possible as well, including race conditions and deadlocks.
还可能出现其他与线程相关的bug,包括争用情况和死锁。
Strong deadlocks (on all but the base model CL) make it secure, bonnet needs the key to open it.
坚固的闭锁装置使他(除了基本版CL)非常安全,引擎盖需要钥匙打开。
A class or instance can be locked by code other than your own, potentially causing deadlocks or performance problems.
类或实例可由其他代码锁定,您自己的代码进行锁定可能会引起死锁或性能问题。
However, in certain special circumstances, they may be used to prevent database-level deadlocks , which result in transaction failure.
但是在某些特殊场合下,需要使用悲观锁,以防止那些会引起整个事务失败的数据库死锁的发生。
If the criteria do not match the branches, deadlocks or a lack of synchronization can occur.
若该条件与分支不匹配,可能会出现死锁或缺乏同步的现象。
This was done to address deadlocks in the thread-pool. These deadlocks were caused when too many threads were waiting on other tasks.
这么做是为了处理线程池中的死锁,当太多线程等待其他任务结束时就会出现死锁。
However, you should not allow page locks if such queries will run concurrently because deadlocks are more likely to occur.
但是,如果上述查询将同时运行,则不应允许页锁定,因为很有可能会出现死锁。
以上图片仅供学习交流使用,版权归原作者所有,如有侵权,请与我方联系