[#BloombergLP-bslmt-FastPostSemaphoreImpl-takeAll] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/FastPostSemaphoreImpl.adoc[FastPostSemaphoreImpl]::takeAll :relfileprefix: ../../../ :mrdocs: If the count of this semaphore is positive, reduce the count to 0 and return the original value of the count. Otherwise, do nothing and return 0. == Synopsis Declared in `<bslmt_fastpostsemaphoreimpl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int takeAll(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#