[#BloombergLP-bslmt-FastPostSemaphore-takeAll] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/FastPostSemaphore.adoc[FastPostSemaphore]::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_fastpostsemaphore.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int takeAll(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#