mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-03 14:00:47 -05:00
Set network threads CPU affintity.
This commit is contained in:
parent
bd024eee57
commit
f94f4bc1f4
1 changed files with 3 additions and 0 deletions
|
|
@ -3469,6 +3469,9 @@ netthread(void *uap) {
|
|||
(void)manager;
|
||||
bool done;
|
||||
int cc;
|
||||
if (manager->nthreads > 1) {
|
||||
isc_thread_setaffinity(thread->threadid);
|
||||
}
|
||||
#ifdef USE_KQUEUE
|
||||
const char *fnname = "kevent()";
|
||||
#elif defined (USE_EPOLL)
|
||||
|
|
|
|||
Loading…
Reference in a new issue