[#BloombergLP-bdlma-ConcurrentFixedPool-allocate] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlma.adoc[bdlma]::xref:BloombergLP/bdlma/ConcurrentFixedPool.adoc[ConcurrentFixedPool]::allocate :relfileprefix: ../../../ :mrdocs: Allocate a memory block of the `objectSize` specified at construction. Return the address of that block or 0 if the pool is exhausted (i.e., `poolSize()` memory blocks have already been allocated from this pool). == Synopsis Declared in `<bdlma_concurrentfixedpool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void* allocate(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#