更新日期: 2022/06/01 来源: https://gitee.com/weharmony/kernel_liteos_a_note
los_vm_lock.h 文件参考

浏览源代码.

函数

STATIC INLINE STATUS_T LOS_MuxAcquire (LosMux *m)
 
STATIC INLINE STATUS_T LOS_MuxRelease (LosMux *m)
 

函数说明

◆ LOS_MuxAcquire()

STATIC INLINE STATUS_T LOS_MuxAcquire ( LosMux m)

在文件 los_vm_lock.h48 行定义.

49{
50 return LOS_MuxLock(m, LOS_WAIT_FOREVER);
51}
LITE_OS_SEC_TEXT UINT32 LOS_MuxLock(LosMux *mutex, UINT32 timeout)
拿互斥锁,
Definition: los_mux.c:437
函数调用图:
这是这个函数的调用关系图:

◆ LOS_MuxRelease()

STATIC INLINE STATUS_T LOS_MuxRelease ( LosMux m)

在文件 los_vm_lock.h53 行定义.

54{
55 return LOS_MuxUnlock(m);
56}
LITE_OS_SEC_TEXT UINT32 LOS_MuxUnlock(LosMux *mutex)
释放锁
Definition: los_mux.c:559
函数调用图:
这是这个函数的调用关系图: