mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 11:30:01 +08:00
[mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO
This commit is contained in:
@@ -63,7 +63,7 @@ int dfs_init(void)
|
||||
memset(&_fdtab, 0, sizeof(_fdtab));
|
||||
|
||||
/* create device filesystem lock */
|
||||
rt_mutex_init(&fslock, "fslock", RT_IPC_FLAG_FIFO);
|
||||
rt_mutex_init(&fslock, "fslock", RT_IPC_FLAG_PRIO);
|
||||
|
||||
#ifdef DFS_USING_WORKDIR
|
||||
/* set current working directory */
|
||||
|
||||
Reference in New Issue
Block a user