mn_counting_semaphore.hpp
Go to the documentation of this file.
52 : basic_semaphore( mn::move(o)), m_uiCount( mn::move(o.m_uiCount)), m_uiMaxCount( mn::move(o.m_uiMaxCount)) { }
Definition: mn_counting_semaphore.hpp:30
basic_counting_semaphore(int count=MN_THREAD_CONFIG_CSEMAPHORE_MIN_COUNT, int maxcount=MN_THREAD_CONFIG_CSEMAPHORE_MAX_COUNT)
Definition: mn_counting_semaphore.cpp:29
void set_max_count(int count)
Definition: mn_counting_semaphore.hpp:69
basic_counting_semaphore(basic_counting_semaphore &&o)
Definition: mn_counting_semaphore.hpp:51
virtual ~basic_counting_semaphore()
Definition: mn_counting_semaphore.cpp:52
void set_initial_count(int count)
Definition: mn_counting_semaphore.hpp:62
int get_count() const
Definition: mn_counting_semaphore.cpp:63
basic_counting_semaphore(const basic_counting_semaphore &o)
Definition: mn_counting_semaphore.hpp:48
Definition: mn_basic_semaphore.hpp:41
#define MN_THREAD_CONFIG_CSEMAPHORE_MIN_COUNT
Definition: mn_config.hpp:349
#define MN_THREAD_CONFIG_CSEMAPHORE_MAX_COUNT
Definition: mn_config.hpp:357
Definition: mn_allocator_typetraits.hpp:25