[#BloombergLP-bslstl-StopState-requestStop] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/StopState.adoc[StopState]::requestStop :relfileprefix: ../../../ :mrdocs: Request a stop on this state and invoke all registered callbacks. == Synopsis Declared in `<bslstl_stopstate.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool requestStop(); ---- == Description If this `StopState` object has already had a stop requested, return `false`. Otherwise, atomically mark this `StopState` object as having had a stop requested, then execute all registered callbacks in an unspecified order, and finally return `true`. == Return Value `true` if this call requested the stop, and `false` if a stop was already requested [.small]#Created with https://www.mrdocs.com[MrDocs]#