[#BloombergLP-bslmt-FastPostSemaphore-tryWait] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/FastPostSemaphore.adoc[FastPostSemaphore]::tryWait :relfileprefix: ../../../ :mrdocs: If this semaphore is initially disabled, return `e_DISABLED` with no effect on the count. Otherwise, if the count of this semaphore is a positive value, return 0 and atomically decrement the count. If this semaphore is not disabled and the count of this semaphore is not a positive value, return `e_WOULD_BLOCK` with no effect on the count. == Synopsis Declared in `<bslmt_fastpostsemaphore.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int tryWait(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#