~ ccan/io allows overriding the poll() function that is the very core * of the event loop it runs for us. We override it so that we can do * extra sanity checks, and it's also a good point to free the tmpctx. */
| 747 | * of the event loop it runs for us. We override it so that we can do |
| 748 | * extra sanity checks, and it's also a good point to free the tmpctx. */ |
| 749 | static int io_poll_lightningd(struct pollfd *fds, nfds_t nfds, int timeout) |
| 750 | { |
| 751 | /* These checks and freeing tmpctx are common to all daemons. */ |
| 752 | return daemon_poll(fds, nfds, timeout); |
| 753 | } |
| 754 | |
| 755 | /*~ Ever had one of those functions which doesn't quite fit anywhere? Me too. |
| 756 | * Implementing a generic notifier framework is overkill in a static codebase |
nothing calls this directly
no test coverage detected