Quick Links: |
Provide a thread-safe way to execute code once per process. More...
Go to the source code of this file.
Classes | |
class | bslmt::Once |
class | bslmt::OnceGuard |
Namespaces | |
namespace | bslmt |
Defines | |
#define | BSLMT_ONCE_UNIQNUM __LINE__ |
#define | BSLMT_ONCE_DO BSLMT_ONCE_DO_IMP(BSLMT_ONCE_CAT(bslmt_doOnceObj, BSLMT_ONCE_UNIQNUM)) |
#define | BSLMT_ONCE_CANCEL() bslmt_doOnceGuard.cancel() |
#define | BSLMT_ONCE_INITIALIZER { BSLMT_QLOCK_INITIALIZER, { 0 } } |