hpx/synchronization/spinlock_pool.hpp

See Public API for a list of names and headers that are part of the public HPX API.

namespace hpx
template<typename Tag, std::size_t N = HPX_HAVE_SPINLOCK_POOL_NUM>
class spinlock_pool

Public Static Functions

static hpx::spinlock &spinlock_for(void const *pv)

Private Static Attributes

util::cache_aligned_data<hpx::spinlock> pool_
class scoped_lock

Public Functions

template<>
scoped_lock(scoped_lock const&)
template<>
scoped_lock &operator=(scoped_lock const&)
template<>
scoped_lock(scoped_lock&&)
template<>
scoped_lock &operator=(scoped_lock&&)
template<>
scoped_lock(void const *pv)
template<>
~scoped_lock()
template<>
void lock()
template<>
void unlock()

Private Members

template<>
hpx::spinlock &sp_