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

Function daemon_poll

common/daemon.c:76–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74#endif
75
76int daemon_poll(struct pollfd *fds, nfds_t nfds, int timeout)
77{
78 const char *t;
79
80 t = taken_any();
81 if (t)
82 errx(1, "Outstanding taken pointers: %s", t);
83
84 if (wally_tal_ctx)
85 errx(1, "Outstanding tal_wally_start!");
86
87 clean_tmpctx();
88
89 return poll(fds, nfds, timeout);
90}
91
92#if DEVELOPER && BACKTRACE_SUPPORTED
93static void steal_notify(tal_t *child, enum tal_notify_type n, tal_t *newparent)

Callers

nothing calls this directly

Calls 3

taken_anyFunction · 0.85
errxFunction · 0.85
clean_tmpctxFunction · 0.85

Tested by

no test coverage detected