mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-05 17:15:31 +00:00
[master] give threads unique names to assist debugging
4602. [func] Threads are now set to human-readable names to assist debugging, when supported by the OS. [RT #43234]
This commit is contained in:
@@ -4772,6 +4772,7 @@ isc__socketmgr_create2(isc_mem_t *mctx, isc_socketmgr_t **managerp,
|
||||
result = ISC_R_UNEXPECTED;
|
||||
goto cleanup;
|
||||
}
|
||||
isc_thread_setname(manager->watcher, "isc-socket");
|
||||
#endif /* USE_WATCHER_THREAD */
|
||||
isc_mem_attach(mctx, &manager->mctx);
|
||||
|
||||
|
Reference in New Issue
Block a user