]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
daemon: support event.socket(fd, cb) for I/O events
authorMarek Vavrusa <marek@vavrusa.com>
Mon, 23 May 2016 00:56:50 +0000 (17:56 -0700)
committerMarek Vavrusa <marek@vavrusa.com>
Mon, 23 May 2016 00:56:50 +0000 (17:56 -0700)
commitc416877a0e2bfc5d66a2e165bb09b8ef2f8b843d
treee57ea04b4e2c1dae18905ff81546c25d7da870f7
parenta41532e5682a1feb1e3193dfa1cc7399efca9d71
daemon: support event.socket(fd, cb) for I/O events

this allows embedding other event loops or just
asynchronous events triggered by socket activity.
this is required for things like cooperative
HTTP server, monitoring endpoint or remote
configuration daemon/controller
daemon/README.rst
daemon/bindings.c
daemon/engine.c