F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
MutexUserInterface.hpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title Os/Interfaces/MutexUserInterface.hpp
3
// \brief types shared by Os::Mutex users and implementations
4
//
5
// Includes no other Os service header, so both Os/Mutex.hpp and the Os::Mutex implementations may include it.
6
// ======================================================================
7
#ifndef OS_INTERFACES_MUTEXUSERINTERFACE_HPP_
8
#define OS_INTERFACES_MUTEXUSERINTERFACE_HPP_
9
10
#include <
Fw/FPrimeBasicTypes.hpp
>
11
#include <
Fw/Types/Assert.hpp
>
12
#include <
Os/Os.hpp
>
13
14
namespace
Os
{
15
16
struct
MutexHandle
{};
17
19
struct
MutexUserInterface
{
20
enum
Status
{
21
OP_OK
,
22
ERROR_BUSY
,
23
ERROR_DEADLOCK
,
24
NOT_SUPPORTED
,
25
ERROR_OTHER
26
};
27
};
28
29
}
// namespace Os
30
31
#endif // OS_INTERFACES_MUTEXUSERINTERFACE_HPP_
Os::MutexUserInterface::ERROR_BUSY
Mutex is busy.
Definition:
MutexUserInterface.hpp:22
FPrimeBasicTypes.hpp
Os::MutexUserInterface::ERROR_DEADLOCK
Deadlock condition detected.
Definition:
MutexUserInterface.hpp:23
Os
Definition:
LocklessQueueCfg.hpp:16
Assert.hpp
Os::MutexUserInterface::OP_OK
Operation was successful.
Definition:
MutexUserInterface.hpp:21
Os::MutexUserInterface::ERROR_OTHER
All other errors.
Definition:
MutexUserInterface.hpp:25
Os::MutexUserInterface
types shared by Os::Mutex users and implementations
Definition:
MutexUserInterface.hpp:19
Os.hpp
Os::MutexHandle
Definition:
MutexUserInterface.hpp:16
Os::MutexUserInterface::NOT_SUPPORTED
Mutex does not support operation.
Definition:
MutexUserInterface.hpp:24
Os::MutexUserInterface::Status
Status
Definition:
MutexUserInterface.hpp:20
Os
Interfaces
MutexUserInterface.hpp
Generated by
1.8.14