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

Function psocket_process

c/src/proactor/win_iocp.cpp:2499–2512  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2497}
2498
2499static pn_event_batch_t *psocket_process(psocket_t *ps, iocp_result_t *result, reaper *rpr) {
2500 if (ps) {
2501 pconnection_t *pc = as_pconnection_t(ps);
2502 if (pc) {
2503 return pconnection_process(pc, result, false);
2504 } else {
2505 pn_listener_t *l = as_listener(ps);
2506 if (l)
2507 return listener_process(l, result);
2508 }
2509 }
2510 rpr->process(result);
2511 return NULL;
2512}
2513
2514static pn_event_batch_t *proactor_completion_loop(struct pn_proactor_t* p, bool can_block) {
2515 // Proact! Process inbound completions of async activity until one

Callers 1

proactor_completion_loopFunction · 0.85

Calls 5

as_pconnection_tFunction · 0.85
as_listenerFunction · 0.85
pconnection_processFunction · 0.70
listener_processFunction · 0.70
processMethod · 0.45

Tested by

no test coverage detected