hpx::once_flag#
Defined in header hpx/mutex.hpp.
See Public API for a list of names and headers that are part of the public HPX API.
See also:
-
struct once_flag#
The class
hpx::once_flagis a helper structure forhpx::call_once. An object of typehpx::once_flagthat is passed to multiple calls tohpx::call_onceallows those calls to coordinate with each other such that only one of the calls will actually run to completion.hpx::once_flagis neither copyable nor movable.