forked from OSchip/llvm-project
[compiler-rt] Fix typo in DeadlockDetector (chanding->changing)
This commit is contained in:
parent
0d62e31c45
commit
fa1729067c
|
@ -293,7 +293,7 @@ class DeadlockDetector {
|
|||
}
|
||||
|
||||
// Returns true iff dtls is empty (no locks are currently held) and we can
|
||||
// add the node to the currently held locks w/o chanding the global state.
|
||||
// add the node to the currently held locks w/o changing the global state.
|
||||
// This operation is thread-safe as it only touches the dtls.
|
||||
bool onFirstLock(DeadlockDetectorTLS<BV> *dtls, uptr node, u32 stk = 0) {
|
||||
if (!dtls->empty()) return false;
|
||||
|
|
Loading…
Reference in New Issue