SuperTinyKernel™ RTOS 1.08.x
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
Loading...
Searching...
No Matches
StkMutexBase Struct Referenceabstract
Inheritance diagram for StkMutexBase:

Public Member Functions

 StkMutexBase ()
virtual ~StkMutexBase ()
virtual const char * GetTraceName () const =0
virtual stk::TId GetOwner () const =0
virtual osStatus_t Acquire (stk::Timeout timeout)=0
virtual void Unlock ()=0

Public Attributes

bool m_cb_owned

Detailed Description

Definition at line 331 of file cmsis_os2_stk.cpp.

Constructor & Destructor Documentation

◆ StkMutexBase()

StkMutexBase::StkMutexBase ( )
inlineexplicit

Definition at line 333 of file cmsis_os2_stk.cpp.

333 : m_cb_owned(true)
334 {}

References m_cb_owned.

Referenced by StkFastMutex::StkFastMutex(), and StkMutex::StkMutex().

Here is the caller graph for this function:

◆ ~StkMutexBase()

virtual StkMutexBase::~StkMutexBase ( )
inlinevirtual

Definition at line 336 of file cmsis_os2_stk.cpp.

337 {}

Member Function Documentation

◆ Acquire()

virtual osStatus_t StkMutexBase::Acquire ( stk::Timeout timeout)
pure virtual

Implemented in StkFastMutex, and StkMutex.

◆ GetOwner()

virtual stk::TId StkMutexBase::GetOwner ( ) const
pure virtual

Implemented in StkFastMutex, and StkMutex.

Referenced by osMutexRelease().

Here is the caller graph for this function:

◆ GetTraceName()

virtual const char * StkMutexBase::GetTraceName ( ) const
pure virtual

Implemented in StkFastMutex, and StkMutex.

◆ Unlock()

virtual void StkMutexBase::Unlock ( )
pure virtual

Implemented in StkFastMutex, and StkMutex.

Referenced by osMutexRelease().

Here is the caller graph for this function:

Member Data Documentation

◆ m_cb_owned

bool StkMutexBase::m_cb_owned

Definition at line 344 of file cmsis_os2_stk.cpp.

Referenced by StkMutexBase().


The documentation for this struct was generated from the following file: