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/dcb274c8799a
branches:  trunk
changeset: 966812:dcb274c8799a
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 62e12aa254d8 -r dcb274c8799a 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 62e12aa254d8 -r dcb274c8799a 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