Skip to content

Commit

Permalink
close #2639
Browse files Browse the repository at this point in the history
  • Loading branch information
haohao0103 committed Aug 14, 2024
1 parent a038d23 commit 6148c6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void waitGraphLock(String graphName) {

public void lockGraph(String graphName) {
var lock = getOrCreateGraphLock(graphName);
while (lock.compareAndSet(false, true)) {
while (!lock.compareAndSet(false, true)) {
Thread.onSpinWait();
}
}
Expand Down

0 comments on commit 6148c6f

Please sign in to comment.