| 332 | } |
| 333 | |
| 334 | static void DequeueAll(TLockFreeStack<ValueType>& stack) { |
| 335 | TVector<ValueType> values; |
| 336 | stack.DequeueAll(&values); |
| 337 | for (auto& v : values) { |
| 338 | UNIT_ASSERT(v); |
| 339 | } |
| 340 | } |
| 341 | }; |
| 342 | |
| 343 | // Test for catching thread sanitizer problems |
no outgoing calls
no test coverage detected