From: Witold Kręcicki Date: Wed, 14 Nov 2018 10:20:29 +0000 (+0000) Subject: Some comments X-Git-Tag: v9.13.4~20^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79afbe296670726e317561eae4b22ba4cd19c765;p=thirdparty%2Fbind9.git Some comments --- diff --git a/lib/isc/unix/socket.c b/lib/isc/unix/socket.c index ec673283c99..2fb6d4fd669 100644 --- a/lib/isc/unix/socket.c +++ b/lib/isc/unix/socket.c @@ -866,6 +866,10 @@ unwatch_fd(isc__socketthread_t *thread, int fd, int msg) { #endif } +/* + * A poke message was received, perform a proper watch/unwatch + * on a fd provided + */ static void wakeup_socket(isc__socketthread_t *thread, int fd, int msg) { isc_result_t result; @@ -3280,6 +3284,11 @@ process_fd(isc__socketthread_t *thread, int fd, bool readable, } } +/* + * process_fds is different for different event loops + * it takes the events from event loops and for each FD + * launches process_fd + */ #ifdef USE_KQUEUE static bool process_fds(isc__socketthread_t *thread, struct kevent *events,