[#BloombergLP-bdlma-ConcurrentPool-reserveCapacity]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlma.adoc[bdlma]::xref:BloombergLP/bdlma/ConcurrentPool.adoc[ConcurrentPool]::reserveCapacity
:relfileprefix: ../../../
:mrdocs:

Reserve memory from this pool to satisfy memory requests for at least the specified `numBlocks` before the pool replenishes&period; The behavior is undefined unless `0 &lt;&equals; numBlocks`&period;

== Synopsis

Declared in `&lt;bdlma&lowbar;concurrentpool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
reserveCapacity(int numBlocks);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
