mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 17:18:24 +00:00
Create IPC.ipch
这里注释应该由semaphore改为mutex
This commit is contained in:
@@ -568,7 +568,7 @@ rt_err_t rt_mutex_detach(rt_mutex_t mutex)
|
||||
/* wakeup all suspend threads */
|
||||
rt_ipc_list_resume_all(&(mutex->parent.suspend_thread));
|
||||
|
||||
/* detach semaphore object */
|
||||
/* detach mutex object */
|
||||
rt_object_detach(&(mutex->parent.parent));
|
||||
|
||||
return RT_EOK;
|
||||
@@ -633,7 +633,7 @@ rt_err_t rt_mutex_delete(rt_mutex_t mutex)
|
||||
/* wakeup all suspend threads */
|
||||
rt_ipc_list_resume_all(&(mutex->parent.suspend_thread));
|
||||
|
||||
/* delete semaphore object */
|
||||
/* delete mutex object */
|
||||
rt_object_delete(&(mutex->parent.parent));
|
||||
|
||||
return RT_EOK;
|
||||
|
||||
Reference in New Issue
Block a user