fix: Mutex锁释放后,无任务持有的情况下,owner未清空

close: #I40OC8

Signed-off-by: zff <zhangfanfan2@huawei.com>
Change-Id: Ia06c4dc7f6d0a24a9ea05b37599ffac4f359a29f
This commit is contained in:
YOUR_NAME 2021-07-30 09:44:41 +08:00
parent 285d90979b
commit c136cfdf97
1 changed files with 1 additions and 0 deletions

View File

@ -304,6 +304,7 @@ LITE_OS_SEC_TEXT UINT32 LOS_MuxPost(UINT32 muxHandle)
OsHookCall(LOS_HOOK_TYPE_MUX_POST, muxPosted); OsHookCall(LOS_HOOK_TYPE_MUX_POST, muxPosted);
LOS_Schedule(); LOS_Schedule();
} else { } else {
muxPosted->owner = NULL;
LOS_IntRestore(intSave); LOS_IntRestore(intSave);
} }