[#BSLMT_ONCE_CANCEL]
= BSLMT&lowbar;ONCE&lowbar;CANCEL
:mrdocs:

Cancel once processing within a `BSLMT&lowbar;ONCE&lowbar;DO` construct&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;once&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
#define BSLMT&lowbar;ONCE&lowbar;CANCEL()

----

== Description

This macro provides a way to cancel once processing within a `BSLMT&lowbar;ONCE&lowbar;DO` construct&period; It will not compile outside of a `BSLMT&lowbar;ONCE&lowbar;DO` construct&period; Executing this function&hyphen;like macro will set the state of the `BSLMT&lowbar;ONCE&lowbar;DO` construct to &quot;not entered&quot;, possibly unblocking a thread waiting to enter the one&hyphen;time code region&period; Note that this macro does not exit the `BSLMT&lowbar;ONCE&lowbar;DO` construct (i&period;e&period;, it does not have `break` or `return` semantics)&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
