F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
ConditionVariable.cpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title Os/Stub/ConditionVariable.cpp
3
// \brief Stub implementations for Os::ConditionVariable
4
// ======================================================================
5
#include "
Os/Stub/ConditionVariable.hpp
"
6
#include "
Fw/Types/Assert.hpp
"
7
8
namespace
Os
{
9
namespace
Stub {
10
namespace
Mutex
{
11
12
void
StubConditionVariable::wait
(
Os::Mutex
& mutex) {
13
FW_ASSERT
(0);
14
}
15
void
StubConditionVariable::notify
() {
16
FW_ASSERT
(0);
17
}
18
void
StubConditionVariable::notifyAll
() {
19
FW_ASSERT
(0);
20
}
21
22
ConditionVariableHandle
*
StubConditionVariable::getHandle
() {
23
return
&m_handle;
24
}
25
26
}
27
}
28
}
Assert.hpp
FW_ASSERT
#define FW_ASSERT(...)
Definition:
Assert.hpp:14
ConditionVariable.hpp
Os::ConditionVariableHandle
Condition variable handle parent.
Definition:
Condition.hpp:14
Os::Mutex
Definition:
Mutex.hpp:50
Os::Stub::Mutex::StubConditionVariable::notifyAll
void notifyAll() override
notify all current waiters
Definition:
ConditionVariable.cpp:18
Os::Stub::Mutex::StubConditionVariable::wait
void wait(Os::Mutex &mutex) override
wait releasing mutex
Definition:
ConditionVariable.cpp:12
Os::Stub::Mutex::StubConditionVariable::getHandle
ConditionVariableHandle * getHandle() override
get handle
Definition:
ConditionVariable.cpp:22
Os::Stub::Mutex::StubConditionVariable::notify
void notify() override
notify a single waiter
Definition:
ConditionVariable.cpp:15
Os
Definition:
DirectoryOpenModeEnumAc.cpp:13
Os
Stub
ConditionVariable.cpp
Generated by
1.9.1