diff --git a/osal/linux/SemaphoreFactory.cpp b/osal/linux/SemaphoreFactory.cpp index db4bebb3..8d29ffe3 100644 --- a/osal/linux/SemaphoreFactory.cpp +++ b/osal/linux/SemaphoreFactory.cpp @@ -1,4 +1,5 @@ #include +#include #include const uint32_t SemaphoreIF::NO_TIMEOUT = 0; @@ -21,8 +22,7 @@ SemaphoreFactory* SemaphoreFactory::instance() { } SemaphoreIF* SemaphoreFactory::createBinarySemaphore(uint32_t arguments) { - sif::error << "Semaphore not implemented for Linux yet" << std::endl; - return nullptr; + return new BinarySemaphore(); } SemaphoreIF* SemaphoreFactory::createCountingSemaphore(uint8_t count,