Searched refs:cmpxchg_loop (Results 1 – 2 of 2) sorted by relevance
53 fn cmpxchg_loop(&mut self, mode: CmpxchgMode) -> Result<i32, i32> { in cmpxchg_loop() method123 fn cmpxchg_loop(&mut self, mode: CmpxchgMode) -> Result<i32, i32> { in cmpxchg_loop() method131 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::Increase); in inc()149 let cmpxchg_res = self.cmpxchg_loop(CmpxchgMode::IncreaseNotZero); in inc_not_zero()178 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::IncreaseNotDead); in inc_not_dead()208 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::Decrease); in dec()239 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::DecreaseReturn); in dec_return()267 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::DecreaseNotZero); in dec_not_zero()298 let cmpxchg_result = self.cmpxchg_loop(CmpxchgMode::DecreaseOrLockNotZero); in dec_or_lock_not_zero()
53 ## 3. 关于cmpxchg_loop