摘要 |
A procedure identifies multiple threads associated with a process and pauses execution of a first thread associated with the process. A determination is made regarding whether the first thread is attempting to access a first resource. If the first thread is attempting to access a first resource, the procedure identifies a second thread that has locked the first resource and determines whether the second thread is attempting to access a second resource that is locked by the first thread. A deadlock is identified if the second thread is attempting to access a second resource that is locked by the first thread.
|