- addCycleThreads
Recursively check if any of the threads that prevent the current thread from
running are actually de
- blockingThreads
Get the thread(s) that own the lock this thread is waiting for.
- checkWaitCycles
Check that the addition of a waiting thread did not produce deadlock. If
deadlock is detected return
- contains
Returns true IFF the matrix contains a row for the given thread. (meaning the
given thread either ow
- fillPresentEntries
A new rule was just added to the graph. Find a rule it conflicts with and update
the new rule with t
- getOwnedLocks
Returns all the locks owned by the given thread
- getThreadsInDeadlock
Returns an array of threads that form the deadlock (usually 2).
- getThreadsOwningLock
Returns the thread(s) that own the given lock.
- getWaitingLock
Returns the lock the given thread is waiting for.
- indexOf
Returns the index of the given lock in the lock array. If the lock is not
present in the array, it i
- lockAcquired
The given lock was acquired by the given thread.
- lockReleased
The given lock was released by the given thread. Update the graph.