forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[base/allocator] Refactor the initialization lock.
Since it's used in more than one place, use a Scoper object to handle it. Also switch to the same CAS primitive as in spinning_mutex.h for consistency. Bug: 998048 Change-Id: I3024b1f97043341828b13701491d89fdeb703488 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3100110 Reviewed-by: Bartek Nowierski <bartekn@chromium.org> Commit-Queue: Benoit L <lizeb@chromium.org> Cr-Commit-Position: refs/heads/main@{#913782}
- Loading branch information
Benoit Lize
authored and
Chromium LUCI CQ
committed
Aug 20, 2021
1 parent
b04f70f
commit 1ff87d0
Showing
1 changed file
with
24 additions
and
23 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