From f0190506f1ac4175345a5bb90d5c73376c657ef0 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 25 Sep 2004 05:36:06 +0000 Subject: [PATCH] ITS#3344: initialize threads early --- servers/slapd/init.c | 2 -- servers/slapd/main.c | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/init.c b/servers/slapd/init.c index 3375133279..c20bb4bbd6 100644 --- a/servers/slapd/init.c +++ b/servers/slapd/init.c @@ -113,8 +113,6 @@ slap_init( int mode, const char *name ) slap_name = name; - (void) ldap_pvt_thread_initialize(); - ldap_pvt_thread_pool_init( &connection_pool, connection_pool_max, 0); diff --git a/servers/slapd/main.c b/servers/slapd/main.c index 864463d9c0..01fbf316af 100644 --- a/servers/slapd/main.c +++ b/servers/slapd/main.c @@ -501,6 +501,8 @@ unhandled_option:; } } + (void) ldap_pvt_thread_initialize(); + lutil_set_debug_level( "slapd", slap_debug ); ber_set_option(NULL, LBER_OPT_DEBUG_LEVEL, &slap_debug); ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, &slap_debug); -- 2.39.5