MINOR: thread: get rid of MAX_THREADS_MASK
This macro was used both for binding and for lookups. When binding tasks
or FDs, using all_threads_mask instead is better as it will later be per
group. For lookups, ~0UL always does the job. Thus in practice the macro
was already almost not used anymore since the rest of the code could run
fine with a constant of all ones there.
diff --git a/src/dns.c b/src/dns.c
index 710cd5c..75949b5 100644
--- a/src/dns.c
+++ b/src/dns.c
@@ -74,7 +74,7 @@
/* Add the fd in the fd list and update its parameters */
dgram->t.sock.fd = fd;
- fd_insert(fd, dgram, dgram_fd_handler, MAX_THREADS_MASK);
+ fd_insert(fd, dgram, dgram_fd_handler, all_threads_mask);
fd_want_recv(fd);
return 0;
}