Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/mpl/dhcp/dist/omapip Bump the number of "workers" t...



details:   https://anonhg.NetBSD.org/src/rev/1231a1e15c63
branches:  trunk
changeset: 359912:1231a1e15c63
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 30 19:47:04 2022 +0000

description:
Bump the number of "workers" to 2 which effectively bumps the number of
contexts to 8. We seem to need 5 contexts so that should stop the error
checking to hp_retire() from triggering.

diffstat:

 external/mpl/dhcp/dist/omapip/isclib.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 108a8afea562 -r 1231a1e15c63 external/mpl/dhcp/dist/omapip/isclib.c
--- a/external/mpl/dhcp/dist/omapip/isclib.c    Sun Jan 30 18:54:52 2022 +0000
+++ b/external/mpl/dhcp/dist/omapip/isclib.c    Sun Jan 30 19:47:04 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: isclib.c,v 1.6 2021/08/19 11:50:56 christos Exp $      */
+/*     $NetBSD: isclib.c,v 1.7 2022/01/30 19:47:04 christos Exp $      */
 
 /*
  * Copyright(c) 2009-2019 by Internet Systems Consortium, Inc.("ISC")
@@ -24,7 +24,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: isclib.c,v 1.6 2021/08/19 11:50:56 christos Exp $");
+__RCSID("$NetBSD: isclib.c,v 1.7 2022/01/30 19:47:04 christos Exp $");
 
 /*Trying to figure out what we need to define to get things to work.
   It looks like we want/need the library but need the fdwatchcommand
@@ -220,7 +220,7 @@
                result = isc_appctx_create(dhcp_gbl_ctx.mctx,
                                           &dhcp_gbl_ctx.actx);
 
-               result = isc_managers_create(dhcp_gbl_ctx.mctx, 1, 0,
+               result = isc_managers_create(dhcp_gbl_ctx.mctx, 2, 0,
                    &dhcp_gbl_ctx.netmgr, &dhcp_gbl_ctx.taskmgr);
                if (result != ISC_R_SUCCESS)
                        goto cleanup;



Home | Main Index | Thread Index | Old Index