-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
only lock in ThreadLocalStatsT::aggregate if non-empty
Summary: Track whether the object is non-empty in an atomic variable to allow conditionally skipping the lock. Reviewed By: Gownta Differential Revision: D67757018 fbshipit-source-id: 90ac685cb0b82c877c288a656c61ec91db89fd33
- Loading branch information
1 parent
69d97de
commit 9a29ac9
Showing
3 changed files
with
29 additions
and
3 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
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