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

Function pn_proactor_interrupt

c/src/proactor/win_iocp.cpp:2575–2582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2573}
2574
2575void pn_proactor_interrupt(pn_proactor_t *p) {
2576 csguard g(&p->context.cslock);
2577 if (p->context.working)
2578 p->delayed_interrupt = true;
2579 else
2580 p->need_interrupt = true;
2581 proactor_wake(p);
2582}
2583
2584// runs on a threadpool thread. Must not hold timer_lock.
2585VOID CALLBACK timeout_cb(PVOID arg, BOOLEAN /* ignored*/ ) {

Callers

nothing calls this directly

Calls 1

proactor_wakeFunction · 0.85

Tested by

no test coverage detected