MCPcopy Create free account
hub / github.com/apache/qpid-proton / proactor_batch_next

Function proactor_batch_next

c/src/proactor/win_iocp.cpp:3244–3255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3242}
3243
3244static pn_event_t *proactor_batch_next(pn_event_batch_t *batch) {
3245 pn_proactor_t *p = batch_proactor(batch);
3246 pn_event_t *e = pn_collector_next(p->collector);
3247 if (!e) {
3248 csguard g(&p->context.cslock);
3249 proactor_update_batch(p);
3250 e = pn_collector_next(p->collector);
3251 }
3252 if (e && pn_event_type(e) == PN_PROACTOR_TIMEOUT)
3253 p->timeout_processed = true;
3254 return pni_log_event(p, e);
3255}
3256
3257static void proactor_add(pcontext_t *ctx) {
3258 pn_proactor_t *p = ctx->proactor;

Callers

nothing calls this directly

Calls 5

pn_collector_nextFunction · 0.85
pn_event_typeFunction · 0.85
pni_log_eventFunction · 0.85
batch_proactorFunction · 0.70
proactor_update_batchFunction · 0.70

Tested by

no test coverage detected