From: Hallvard Furuseth Date: Tue, 13 Apr 1999 11:10:16 +0000 (+0000) Subject: Move ldap_pvt_thread_initialize() in front of init_globals() X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~203 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d9782e14f8bcdaba4f2be90c6a106235641fbcfe;p=openldap Move ldap_pvt_thread_initialize() in front of init_globals() --- diff --git a/servers/slurpd/main.c b/servers/slurpd/main.c index d4ff5bcc46..9ba0a6c8be 100644 --- a/servers/slurpd/main.c +++ b/servers/slurpd/main.c @@ -38,6 +38,9 @@ main( int i; + /* initialize thread package */ + ldap_pvt_thread_initialize(); + /* * Create and initialize globals. init_globals() also initializes * the main replication queue. @@ -92,9 +95,6 @@ main( #endif /* LDAP_DEBUG */ lutil_detach( 0, 0 ); - /* initialize thread package */ - ldap_pvt_thread_initialize(); - /* * Start threads - one thread for each replica */