Home
last modified time | relevance | path

Searched refs:writeOwner (Results 1 – 2 of 2) sorted by relevance

/kernel/liteos_a/kernel/base/ipc/
Dlos_rwlock.c67 rwlock->writeOwner = NULL; in LOS_RwlockInit()
157 if ((LosTaskCB *)(rwlock->writeOwner) == runTask) { in OsRwlockRdPendOp()
181 rwlock->writeOwner = (VOID *)runTask; in OsRwlockWrPendOp()
186 if ((rwlock->rwCount < 0) && ((LosTaskCB *)(rwlock->writeOwner) == runTask)) { in OsRwlockWrPendOp()
231 if ((LosTaskCB *)(rwlock->writeOwner) == runTask) { in OsRwlockTryRdUnsafe()
275 if ((rwlock->rwCount < 0) && ((LosTaskCB *)(rwlock->writeOwner) != runTask)) { in OsRwlockTryWrUnsafe()
369 rwlock->writeOwner = NULL; in OsRwlockPostOp()
378 rwlock->writeOwner = (VOID *)resumedTask; in OsRwlockPostOp()
420 if ((rwlock->rwCount < 0) && ((LosTaskCB *)(rwlock->writeOwner) != runTask)) { in OsRwlockUnlockUnsafe()
/kernel/liteos_a/kernel/include/
Dlos_rwlock.h56 VOID *writeOwner; /**< The current write thread that is locking the rwlock */ member