Create IPC.ipch

这里注释应该由semaphore改为mutex
This commit is contained in:
iglencao 2019-08-10 22:45:00 +08:00
parent 882ba628bc
commit 37de4d6054
1 changed files with 2 additions and 2 deletions

View File

@ -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;