| 44 | |
| 45 | void Value32::Update(uint32_t new_value) { u32.store(new_value); } |
| 46 | uint32_t Value32::Add(uint32_t n) { return u32.fetch_add(n) + 1; } |
| 47 | uint32_t Value32::Sub(uint32_t n) { return u32.fetch_sub(n) - 1; } |
| 48 | |
| 49 | void Value64::Update(uint64_t new_value) { u64.store(new_value); } |
no test coverage detected