diff options
Diffstat (limited to 'components/cplusplus/cxx_Mutex.cpp')
| -rw-r--r-- | components/cplusplus/cxx_Mutex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/cplusplus/cxx_Mutex.cpp b/components/cplusplus/cxx_Mutex.cpp index 97d8fa87e1..da6f80985f 100644 --- a/components/cplusplus/cxx_Mutex.cpp +++ b/components/cplusplus/cxx_Mutex.cpp @@ -13,7 +13,7 @@ using namespace rtthread; Mutex::Mutex(const char *name) { - rt_mutex_init(&mID, name, RT_IPC_FLAG_FIFO); + rt_mutex_init(&mID, name, RT_IPC_FLAG_PRIO); } bool Mutex::lock(int32_t millisec) |
