MCPcopy Create free account
hub / github.com/ElementsProject/lightning / timer_expired

Function timer_expired

common/timeout.c:56–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void timer_expired(struct timer *timer)
57{
58 struct oneshot *t = container_of(timer, struct oneshot, timer);
59
60 /* If it doesn't free itself, freeing tmpctx will do it */
61 tal_steal(tmpctx, t);
62 t->cb(t->arg);
63}

Callers 4

mainFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50

Calls

no outgoing calls

Tested by 1

mainFunction · 0.40