Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion Components/Network/Source/net_rtos2.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*------------------------------------------------------------------------------
* MDK Middleware - Component ::Network
* Copyright (c) 2004-2024 Arm Limited (or its affiliates). All rights reserved.
* Copyright (c) 2004-2026 Arm Limited (or its affiliates). All rights reserved.
*------------------------------------------------------------------------------
* Name: net_rtos2.h
* Purpose: Network CMSIS-RTOS2 abstraction layer
Expand Down Expand Up @@ -32,13 +32,21 @@

static const osMutexAttr_t net_lock_attr = {
"netCore_Mutex",
#ifdef RTE_CMSIS_RTOS2_RTX5
osMutexPrioInherit | osMutexRecursive | osMutexRobust,
#else
osMutexPrioInherit | osMutexRecursive,
#endif
__NET_LOCK
};

static const osMutexAttr_t mem_lock_attr = {
"netMemory_Mutex",
#ifdef RTE_CMSIS_RTOS2_RTX5
osMutexPrioInherit | osMutexRobust,
#else
osMutexPrioInherit,
#endif
__MEM_LOCK
};

Expand Down
Loading