Scope guard that binds CoreAllocator allocations to a stripe.
Synopsis
Declared in <folly/concurrency/CacheLocality.h>
class [[nodiscard]] CoreAllocatorGuard;
Description
While a guard is alive, CoreAllocator::allocate() draws memory for the given stripe and numStripes.
Member Functions
Name |
Description |
|
Constructors |
|
Ends the guarded allocation scope. |
Assignment operators |
Return Value
|
Note
|
The return value should not be discarded. |
Created with MrDocs