|
PMDK C++ bindings
1.2.0
This is the C++ bindings documentation for PMDK's libpmemobj.
|
Atomic persistent_ptr allocation functions for arrays. More...
#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/pexceptions.hpp"#include "libpmemobj/atomic_base.h"Go to the source code of this file.
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) |
| 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) |
| 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:
1.8.5