-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: A `const` check for whether `RegexMatchCache::purge`, which is non-`cont`, would have any work to do. For concurrent access, `hasItemsToPurge` can be invoked with a shared lock held and, only if it returns `true`, would `purge` be invoked with an exclusive lock held. Reviewed By: Gownta Differential Revision: D66730362 fbshipit-source-id: 678872260faff868671c76875408f4357511b58b
- Loading branch information
1 parent
935b5d0
commit 81a2550
Showing
2 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters