SuperTinyKernel™ RTOS 1.05.3
Lightweight, high-performance, deterministic, bare-metal C++ RTOS for resource-constrained embedded systems. MIT Open Source License.
Loading...
Searching...
No Matches
stk::IMutex Class Referenceabstract

Interface for mutex synchronization primitive. More...

#include <stk_common.h>

Inheritance diagram for stk::IMutex:

Classes

class  ScopedLock
 Locks bound mutex within a scope of execution. Ensures the mutex is always unlocked when leaving the scope, even when exceptions are thrown. More...

Public Member Functions

virtual void Lock ()=0
 Lock the mutex.
virtual void Unlock ()=0
 Unlock the mutex.

Detailed Description

Interface for mutex synchronization primitive.

Note
Implementations may be either recursive or non-recursive.

Definition at line 380 of file stk_common.h.

Member Function Documentation

◆ Lock()

virtual void stk::IMutex::Lock ( )
pure virtual

◆ Unlock()

virtual void stk::IMutex::Unlock ( )
pure virtual

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