ITS#3344: initialize threads early

This commit is contained in:
Kurt Zeilenga 2004-09-25 05:36:06 +00:00
parent 292c568f36
commit f0190506f1
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);