Reserve capacity for at least numBlocks blocks from this pool.
Synopsis
Declared in <bdlma_concurrentpool.h>
void
reserveCapacity(int numBlocks);
Description
Reserve memory from this pool to satisfy memory requests for at least the specified numBlocks before the pool replenishes. The behavior is undefined unless 0 <= numBlocks.
Parameters
Name |
Description |
numBlocks |
minimum number of blocks to reserve |
Created with MrDocs