ADTF  3.18.3
semaphore.h
Go to the documentation of this file.
1 
15 #ifndef A_UTIL_UTIL_CONCURRENCY_SEMAPHORE_HEADER_INCLUDED
16 #define A_UTIL_UTIL_CONCURRENCY_SEMAPHORE_HEADER_INCLUDED
17 
19 
20 #include <condition_variable>
21 #include <mutex>
22 
23 namespace a_util {
24 namespace concurrency {
32 
33 } // namespace concurrency
34 } // namespace a_util
35 
36 #endif // A_UTIL_UTIL_CONCURRENCY_SEMAPHORE_HEADER_INCLUDED
Semaphore implementation, combining a mutex and a condition variable to manage a counter.
detail::basic_semaphore< std::mutex, std::condition_variable > semaphore
Default semaphore using std::mutex and std::condition_variable
Definition: semaphore.h:31
Serves as the root component, with common functionality documented in core functionality.
Definition: base.h:24
Public API for basic_semaphore type.