Constructors

Synopses

Declared in <bsls_spinlock.h>

Create a SpinLock object in the unlocked state.

constexpr
SpinLock();

Create a SpinLock object in the unlocked state. Note that this is provided to allow for a syntax that was necessary in C++03, but is no longer necessary.

constexpr
SpinLock(SpinLock_MemberInitializer const& initializer);

Parameters

Name

Description

initializer

unused tag selecting this constructor

Created with MrDocs