MCPcopy Create free account
hub / github.com/apache/httpd / add_stream_poll_event

Function add_stream_poll_event

modules/http2/h2_mplx.c:816–824  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

814}
815
816static 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
826static void c2_beam_input_read_notify(void *ctx, h2_bucket_beam *beam)
827{

Callers 2

Calls 2

h2_iq_appendFunction · 0.85
h2_iq_countFunction · 0.85

Tested by

no test coverage detected