| 117 | } |
| 118 | |
| 119 | void AtomicMinUpdate( std::atomic<uint32_t>& a, uint32_t b ) |
| 120 | { |
| 121 | uint32_t prev = a; |
| 122 | while( prev > b && !a.compare_exchange_weak( prev, b ) ) |
| 123 | { |
| 124 | } |
| 125 | } |
| 126 | |
| 127 | } // end of anonymous namespace |
| 128 |
no outgoing calls
no test coverage detected