hpx/synchronization/counting_semaphore.hpp¶
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace
hpx
Typedefs
-
template<std::ptrdiff_t
LeastMaxValue
= PTRDIFF_MAX>
usingcounting_semaphore
= detail::counting_semaphore<LeastMaxValue>¶
-
using
binary_semaphore
= detail::binary_semaphore<>¶
-
template<typename
Mutex
= hpx::spinlock, intN
= 0>
classcounting_semaphore_var
: private hpx::detail::counting_semaphore<PTRDIFF_MAX, hpx::spinlock>¶ Public Functions
-
counting_semaphore_var
(counting_semaphore_var const&)¶
-
counting_semaphore_var &
operator=
(counting_semaphore_var const&)¶
Private Types
-
template<>
usingmutex_type
= Mutex¶
-
-
template<std::ptrdiff_t