]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Some comments
authorWitold Kręcicki <wpk@isc.org>
Wed, 14 Nov 2018 10:20:29 +0000 (10:20 +0000)
committerWitold Kręcicki <wpk@isc.org>
Thu, 15 Nov 2018 08:21:40 +0000 (08:21 +0000)
lib/isc/unix/socket.c

index ec673283c99253c96f9042f73b497ef366a0a072..2fb6d4fd669be03ce3a80709e0712ae44afc4bff 100644 (file)
@@ -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,