Commit c34f2a1b authored by Ondřej Kuzník's avatar Ondřej Kuzník Committed by Quanah Gibson-Mount
Browse files

ITS#9650 Move ldap_pvt_thread_initialize into main.c

parent fd5b6a17
Pipeline #3426 passed with stage
in 44 minutes and 20 seconds
......@@ -150,14 +150,6 @@ lload_libevent_init( void )
lload_libevent_cond_timedwait
};
#ifndef BALANCER_MODULE
/* only necessary if lload is a server, slapd already calls
* ldap_pvt_thread_initialize() */
if ( ldap_pvt_thread_initialize() ) {
return -1;
}
#endif
evthread_set_lock_callbacks( &cbs );
evthread_set_condition_callbacks( &cond_cbs );
evthread_set_id_callback( ldap_pvt_thread_self );
......
......@@ -378,6 +378,8 @@ main( int argc, char **argv )
slap_sl_mem_init();
(void) ldap_pvt_thread_initialize();
serverName = lutil_progname( "lloadd", argc, argv );
#ifdef HAVE_NT_SERVICE_MANAGER
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment