fix: Mutex锁释放后,无任务持有的情况下,owner未清空
close: #I40OC8 Signed-off-by: zff <zhangfanfan2@huawei.com> Change-Id: Ia06c4dc7f6d0a24a9ea05b37599ffac4f359a29f
This commit is contained in:
parent
285d90979b
commit
c136cfdf97
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue