[mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO

This commit is contained in:
Meco Man
2021-11-17 15:57:15 -05:00
parent fbca0c7f7d
commit df9a23c534
48 changed files with 55 additions and 55 deletions
+1 -1
View File
@@ -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)