fprime/Os/Models/Mutex.fpp
Philip Romano 3f25d8b535
Change FPP enums to smallest representation (#4342)
For all FPP enums in the framework, set the representing type to the minimum
width that can represent the enum's member constants.
2025-10-22 15:44:10 -07:00

16 lines
583 B
Fortran

# ======================================================================
# \title Os/Models/Mutex.fpp
# \brief FPP type definitions for Os/Mutex.hpp concepts
# ======================================================================
module Os {
@ FPP shadow-enum representing Os::Mutex::Status
enum MutexStatus : U8 {
OP_OK, @< Operation was successful
ERROR_BUSY, @< Mutex is busy
ERROR_DEADLOCK, @< Deadlock condition detected
NOT_SUPPORTED, @< Mutex feature is not supported
ERROR_OTHER @< All other errors
}
}