| 814 | } |
| 815 | |
| 816 | static void add_stream_poll_event(h2_mplx *m, int stream_id, h2_iqueue *q) |
| 817 | { |
| 818 | apr_thread_mutex_lock(m->poll_lock); |
| 819 | if (h2_iq_append(q, stream_id) && h2_iq_count(q) == 1) { |
| 820 | /* newly added first */ |
| 821 | apr_pollset_wakeup(m->pollset); |
| 822 | } |
| 823 | apr_thread_mutex_unlock(m->poll_lock); |
| 824 | } |
| 825 | |
| 826 | static void c2_beam_input_read_notify(void *ctx, h2_bucket_beam *beam) |
| 827 | { |
no test coverage detected