Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mpl/bind/dist/lib/isc shorten names
details: https://anonhg.NetBSD.org/src/rev/38db71570c6d
branches: trunk
changeset: 461140:38db71570c6d
user: christos <christos%NetBSD.org@localhost>
date: Sat Nov 16 19:23:56 2019 +0000
description:
shorten names
diffstat:
external/mpl/bind/dist/lib/isc/task.c | 4 ++--
external/mpl/bind/dist/lib/isc/timer.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 98c316f7be4d -r 38db71570c6d external/mpl/bind/dist/lib/isc/task.c
--- a/external/mpl/bind/dist/lib/isc/task.c Sat Nov 16 18:08:59 2019 +0000
+++ b/external/mpl/bind/dist/lib/isc/task.c Sat Nov 16 19:23:56 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: task.c,v 1.5 2019/09/05 19:32:59 christos Exp $ */
+/* $NetBSD: task.c,v 1.6 2019/11/16 19:23:56 christos Exp $ */
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -1385,7 +1385,7 @@
&manager->queues[i].thread)
== ISC_R_SUCCESS);
char name[21];
- snprintf(name, sizeof(name), "isc-worker%04u", i);
+ snprintf(name, sizeof(name), "work-%u", i);
isc_thread_setname(manager->queues[i].thread, name);
}
UNLOCK(&manager->lock);
diff -r 98c316f7be4d -r 38db71570c6d external/mpl/bind/dist/lib/isc/timer.c
--- a/external/mpl/bind/dist/lib/isc/timer.c Sat Nov 16 18:08:59 2019 +0000
+++ b/external/mpl/bind/dist/lib/isc/timer.c Sat Nov 16 19:23:56 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: timer.c,v 1.4 2019/02/24 20:01:31 christos Exp $ */
+/* $NetBSD: timer.c,v 1.5 2019/11/16 19:23:56 christos Exp $ */
/*
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
@@ -725,7 +725,7 @@
"isc_thread_create() failed");
return (ISC_R_UNEXPECTED);
}
- isc_thread_setname(manager->thread, "isc-timer");
+ isc_thread_setname(manager->thread, "timer");
*managerp = (isc_timermgr_t *)manager;
Home |
Main Index |
Thread Index |
Old Index