| 179 | s->pending = 0; |
| 180 | } |
| 181 | Error wait_value(MTL::SharedEvent* ev, uint64_t v) { |
| 182 | while (ev->signaledValue() < v) std::this_thread::yield(); |
| 183 | ++rt().stats.host_syncs; |
| 184 | return kSuccess; |
| 185 | } |
| 186 | |
| 187 | void check_purged(const Alloc* a, const char* what) { |
| 188 | if (a && a->purged) { |
no outgoing calls
no test coverage detected