17 #ifndef IOX_POSH_POPO_BUILDING_BLOCKS_CONDITION_VARIABLE_DATA_HPP
18 #define IOX_POSH_POPO_BUILDING_BLOCKS_CONDITION_VARIABLE_DATA_HPP
20 #include "iceoryx_posh/iceoryx_posh_types.hpp"
21 #include "iceoryx_utils/error_handling/error_handling.hpp"
22 #include "iceoryx_utils/posix_wrapper/semaphore.hpp"
41 posix::Semaphore m_semaphore =
42 std::move(posix::Semaphore::create(posix::CreateUnnamedSharedMemorySemaphore, 0u)
43 .or_else([](posix::SemaphoreError&) {
44 errorHandler(Error::kPOPO__CONDITION_VARIABLE_DATA_FAILED_TO_CREATE_SEMAPHORE,
50 RuntimeName_t m_runtimeName;
51 std::atomic_bool m_toBeDestroyed{
false};
52 std::atomic_bool m_activeNotifications[MAX_NUMBER_OF_NOTIFIERS_PER_CONDITION_VARIABLE];
Definition: service_description.hpp:29
Definition: condition_variable_data.hpp:31