-
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.
use lock-holder in ThreadLocalPtr::Accessor
Summary: RAII lock-holders are safer from runtime errors and programmer mistakes, and are the intended primary way of interacting with mutexes in C++. Reviewed By: dmm-fb Differential Revision: D70009748 fbshipit-source-id: 10e8cb3a031c90a84d1068fac90189e6f3673c5d
- Loading branch information
1 parent
c378f90
commit ba25f88
Showing
1 changed file
with
24 additions
and
36 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