A wrapper to provide atomic shared pointers.
This wrapper relies on a mutex for gcc 4.8, and specializations of std::atomic_store and std::atomic_load for all other instances.
Definition at line 48 of file includes/opentelemetry/sdk/common/atomic_shared_ptr.h.
Public Member Functions | |
| AtomicSharedPtr (std::shared_ptr< T > ptr) noexcept | |
| void | store (const std::shared_ptr< T > &other) noexcept |
| std::shared_ptr< T > | load () const noexcept |
| AtomicSharedPtr (std::shared_ptr< T > ptr) noexcept | |
| void | store (const std::shared_ptr< T > &other) noexcept |
| std::shared_ptr< T > | load () const noexcept |
|
inlineexplicitnoexcept |
Definition at line 51 of file includes/opentelemetry/sdk/common/atomic_shared_ptr.h.
References absl::move().
|
inlineexplicitnoexcept |
Definition at line 51 of file 9.2/includes/opentelemetry/sdk/common/atomic_shared_ptr.h.
References absl::move().
|
inlinenoexcept |
Definition at line 55 of file includes/opentelemetry/sdk/common/atomic_shared_ptr.h.
|
inlinenoexcept |
Definition at line 55 of file 9.2/includes/opentelemetry/sdk/common/atomic_shared_ptr.h.
|
inlinenoexcept |
Definition at line 53 of file 9.2/includes/opentelemetry/sdk/common/atomic_shared_ptr.h.
|
inlinenoexcept |
Definition at line 53 of file includes/opentelemetry/sdk/common/atomic_shared_ptr.h.