Searched refs:writeOwner (Results 1 – 2 of 2) sorted by relevance
67 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()
56 VOID *writeOwner; /**< The current write thread that is locking the rwlock */ member