提交 37de4d60 编写于 作者: I iglencao

Create IPC.ipch

这里注释应该由semaphore改为mutex
上级 882ba628
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册