summaryrefslogtreecommitdiff
path: root/components/cplusplus/cxx_Mutex.cpp
diff options
context:
space:
mode:
author192.168.1.134 <[email protected]>2021-12-09 19:18:24 +0800
committer192.168.1.134 <[email protected]>2021-12-09 19:18:24 +0800
commit6378f95f00fd51410d2715da55d728d4a40494de (patch)
treebb46a565875d538189e1c1dfc9b1cfddf6862a92 /components/cplusplus/cxx_Mutex.cpp
parentd6b05287bbeaf9369546009e5af445f350b97fe9 (diff)
parent462f093cbd7531098de3b7aadb5f8d5f1b99b4a9 (diff)
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
Diffstat (limited to 'components/cplusplus/cxx_Mutex.cpp')
-rw-r--r--components/cplusplus/cxx_Mutex.cpp2
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)