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

Function tick_timer_cb

c/src/proactor/win_iocp.cpp:2130–2137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2128}
2129
2130VOID CALLBACK tick_timer_cb(PVOID arg, BOOLEAN /* ignored*/ ) {
2131 pconnection_t *pc = (pconnection_t *) arg;
2132 csguard g(&pc->context.cslock);
2133 if (pc->psocket.iocpd && !pc->psocket.iocpd->closing) {
2134 pc->tick_pending = true;
2135 wakeup(&pc->psocket);
2136 }
2137}
2138
2139
2140// Call with no lock held or stop_timer and callback may deadlock

Callers

nothing calls this directly

Calls 1

wakeupFunction · 0.85

Tested by

no test coverage detected