CMSIS-RTOS2  Version 2.0.0
Real-Time Operating System: API and RTX Reference Implementation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Mutex Configuration

The CMSIS-RTOS RTX provides several parameters to configure the Mutexes functions.

Object-specific Memory Allocation

See Object-specific Memory Pools.

  • When Object-specific Memory is used, the pool size for all Mutex objects is specified by OS_MUTEX_NUM.

Mutex Configuration Options

config_wizard_mutex.png
RTX_Config.c: Mutex Configuration
Name #define Description
Object specific Memory allocation OS_MUTEX_OBJ_MEM Enables object specific memory allocation. See Object-specific Memory Pools.
Number of Mutex objects OS_MUTEX_NUM Defines maximum number of objects that can be active at the same time. Applies to objects with system provided memory for control blocks. Value range is [1-1000].