The program to take anti-lock function, that is, monitoring the main thread is the thread deadlock - that is, if the site has been in a deadlock waiting.
该程序采取防死锁功能,即有线程监控主线程是否死锁——如果网站一直处于等待便是死锁。
Because each thread is waiting for a lock held by the other, a deadlock occurs.
因为每个线程都在等候对方持有的锁,所以就发生了死锁。
For example, because a hung thread might occur when a wait leak, excessive synchronization, or a deadlock scenario takes place, the hung thread problem consists of three scenarios.
例如,在出现等待leak、过量同步或死锁时会发生hung线程,因此hung线程问题包含这三种场景。
If the problem is a deadlock, thread analysis tools will show that threads that you expect to be working are actually waiting for something that is never going to happen.
如果问题是deadlock,线程分析工具将会显示哪个线程是您期望它工作,但是实际上在等待永远也不会发生的东西。
In this case, the delegation model is a proper graph (with cycles), and so a deadlock can occur as a result of particular class relationships and thread usage.
在本例中,委托模型是一个正确的图(带有循环),所以死锁的发生可能是使用特定的类关系和线程的结果。
This resulted in the deadlock, because the UI thread was blocked waiting for the API to return.
这导致了这样的僵局,因为UI线程不再等待API的返回。
Sending a message to a window that belongs to another thread. Possible Deadlock?
发送消息到一个窗口属于另一个线程。可能出现的僵局?
This initial call ensures that the per-thread initialization can complete without deadlock.
此初始调用确保在不死锁的情况下,完成每个线程初始化。
A thread attempting to re lock this mutex without first unlocking it shall deadlock.
如果线程在不首先解除互斥锁的情况下尝试重新锁定该互斥锁,则会产生死锁。
One of those threads is likely to be a thread responsible for performing a garbage collection, so this deadlock can have a major impact on the entire process.
其中的某个线程可能是负责执行垃圾回收的线程,因此这种死锁对整个进程具有重大影响。
Based on priority inheritance protocol, a muti thread mutex algorithm is presented, which can prevent deadlock and priority inversion.
基于优先级继承协议,提出了一个防止优先级反转的互斥算法。
This means the suspended thread has a much higher chance of causing a deadlock.
这意味着,挂起的线程更可能导致死锁。
A queued task waiting for an available worker thread can cause deadlock.
排队等待可用工作线程的任务可能导致死锁。
If this thread already has the lock, a deadlock ensues.
如果线程已经得到锁,会发生死锁。
The current thread has entered read mode, so trying to enter the lock in write mode would create the possibility of a deadlock.
目前执行绪已进入读取模式,因此尝试进入写入模式锁定可能会造成死结。
The current thread has entered read mode, so trying to enter the lock in write mode would create the possibility of a deadlock.
目前执行绪已进入读取模式,因此尝试进入写入模式锁定可能会造成死结。
应用推荐