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

Function pni_selectable_release

c/src/reactor/reactor.c:190–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190static void pni_selectable_release(pn_selectable_t *selectable) {
191 pn_reactor_t *reactor = (pn_reactor_t *) pni_selectable_get_context(selectable);
192 pn_incref(selectable);
193 if (pn_list_remove(reactor->children, selectable)) {
194 reactor->selectables--;
195 }
196 pn_decref(selectable);
197}
198
199pn_selectable_t *pn_reactor_selectable(pn_reactor_t *reactor) {
200 assert(reactor);

Callers

nothing calls this directly

Calls 4

pn_increfFunction · 0.85
pn_list_removeFunction · 0.85
pn_decrefFunction · 0.85

Tested by

no test coverage detected