| 490 | return wait_value(s->tl, s->submitted); |
| 491 | } |
| 492 | Error stream_query(Stream st) { |
| 493 | StreamImpl* s = S(st); |
| 494 | flush(s); |
| 495 | return s->tl->signaledValue() >= s->submitted ? kSuccess : kNotReady; |
| 496 | } |
| 497 | Error stream_wait_event(Stream st, Event e, unsigned) { |
| 498 | StreamImpl* s = S(st); |
| 499 | if (s->rec) { |
no test coverage detected