PMDK C++ bindings
1.9
This is the C++ bindings documentation for PMDK's libpmemobj.
|
Atomic persistent_ptr allocation functions for arrays. More...
#include <libpmemobj++/allocation_flag.hpp>
#include <libpmemobj++/detail/array_traits.hpp>
#include <libpmemobj++/detail/check_persistent_ptr_array.hpp>
#include <libpmemobj++/detail/common.hpp>
#include <libpmemobj++/detail/make_atomic_impl.hpp>
#include <libpmemobj++/detail/variadic.hpp>
#include <libpmemobj++/pexceptions.hpp>
#include <libpmemobj/atomic_base.h>
Go to the source code of this file.
Namespaces | |
pmem | |
Persistent memory namespace. | |
pmem::obj | |
Main libpmemobj namespace. | |
Functions | |
template<typename T > | |
void | pmem::obj::make_persistent_atomic (pool_base &pool, typename detail::pp_if_array< T >::type &ptr, std::size_t N, allocation_flag_atomic flag=allocation_flag_atomic::none()) |
Atomically allocate an array of objects. More... | |
template<typename T > | |
void | pmem::obj::make_persistent_atomic (pool_base &pool, typename detail::pp_if_size_array< T >::type &ptr, allocation_flag_atomic flag=allocation_flag_atomic::none()) |
Atomically allocate an array of objects. More... | |
template<typename T > | |
void | pmem::obj::delete_persistent_atomic (typename detail::pp_if_array< T >::type &ptr, std::size_t) |
Atomically deallocate an array of objects. More... | |
template<typename T > | |
void | pmem::obj::delete_persistent_atomic (typename detail::pp_if_size_array< T >::type &ptr) |
Atomically deallocate an array of objects. More... | |
Atomic persistent_ptr allocation functions for arrays.
The typical usage examples would be: