Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00025
00026 #ifndef ICL_CORE_LOGGING_SEMAPHORE_IMPL_LXRT35_H_INCLUDED
00027 #define ICL_CORE_LOGGING_SEMAPHORE_IMPL_LXRT35_H_INCLUDED
00028
00029 #include <rtai_posix.h>
00030
00031 #include "icl_core/BaseTypes.h"
00032 #include "SemaphoreImpl.h"
00033
00034 namespace icl_core {
00035 namespace logging {
00036
00037 class SemaphoreImplLxrt35 : public SemaphoreImpl, protected virtual icl_core::Noncopyable
00038 {
00039 public:
00040 SemaphoreImplLxrt35(size_t initial_value);
00041 virtual ~SemaphoreImplLxrt35();
00042
00043 virtual void post();
00044 virtual bool wait();
00045
00046 private:
00047 sem_t *m_semaphore;
00048 };
00049
00050 }
00051 }
00052
00053 #endif