Searched refs:_locked (Results 1 – 12 of 12) sorted by relevance
22 private val _locked = atomic(0) constant28 _locked.loop { locked -> in withLock()30 if (!_locked.compareAndSet(0, 1)) return@loop // continue in withLock()34 _locked.value = 0 in withLock()
74 self._locked = False83 return self._locked124 if self._locked:127 self._locked = False144 self._locked = True162 if self._locked:166 self._locked = False
38 if self._locked:57 self._locked = True77 if self._locked:79 self._locked = False
49 if self._locked:73 self._locked = True96 if self._locked:104 self._locked = False
79 self._locked = False90 extra = 'locked' if self._locked else 'unlocked'97 return self._locked105 if (not self._locked and (self._waiters is None or107 self._locked = True124 if not self._locked:128 self._locked = True142 if self._locked:143 self._locked = False
78 def _locked(fn): function153 @_locked197 @_locked202 @_locked269 @_locked273 @_locked
600 self._locked = False642 if not self._locked:644 self._locked = True648 if self._locked:650 self._locked = False713 if self._locked:734 if self._locked:948 self._locked = False961 if self._locked:968 if self._locked:[all …]
587 self._locked = False630 if not self._locked:632 self._locked = True636 if self._locked:638 self._locked = False705 if self._locked:726 if self._locked:930 self._locked = False943 if self._locked:950 if self._locked:[all …]
34 self.assertFalse(instance._locked)44 instance._locked = True168 instance._locked = True
984 self.assertTrue(self._box._locked)
1112 self.assertTrue(self._box._locked)
2191 // L[24]_load[wd]_locked: Load word/double with lock.2211 // S[24]_store[wd]_locked: Store word/double conditionally.