Searched refs:cmpxchg_loop (Results 1 – 2 of 2) sorted by relevance
50 fn cmpxchg_loop(&mut self, mode: CmpxchgMode) -> Result<i32, i32> { in cmpxchg_loop() method120 fn cmpxchg_loop(&mut self, mode: CmpxchgMode) -> Result<i32, i32> { in cmpxchg_loop() method128 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::Increase); in inc()146 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::IncreaseNotZero); in inc_not_zero()174 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::IncreaseNotDead); in inc_not_dead()204 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::Decrease); in dec()235 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::DecreaseReturn); in dec_return()264 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::DecreaseNotZero); in dec_not_zero()295 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::DecreaseOrLockNotZero); in dec_or_lock_not_zero()
53 ## 3. 关于cmpxchg_loop