Skip to content

Commit

Permalink
Unlock before notifying
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinTF committed Aug 1, 2024
1 parent f9f22f4 commit 23713cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util/CacheableGenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ class CacheableGenerator {
tryShrinkCacheIfNeccessary();
}
if (isMaster) {
lock.unlock();
conditionVariable_.notify_all();
}
}
Expand Down

0 comments on commit 23713cc

Please sign in to comment.