Lines Matching refs:heldBy
155 an unlocked->locked transition. Must be sync'd with .heldBy:
164 WordBag* heldBy; /* bag of threads that hold this lock */
165 /* .heldBy is NULL: lock is unheld, and .heldW is meaningless
167 .heldBy is non-NULL:
168 .heldW is True: lock is w-held by threads in heldBy
169 .heldW is False: lock is r-held by threads in heldBy
170 Either way, heldBy may not validly be an empty Bag.
173 only have sizeTotal(heldBy) == 1
176 only have sizeUnique(heldBy) == 1
178 for LK_rdwr, w-holdings may only have sizeTotal(heldBy) == 1 */