]> git.sur5r.net Git - openldap/commitdiff
Move ldap_pvt_thread_initialize() in front of init_globals()
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 13 Apr 1999 11:10:16 +0000 (11:10 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Tue, 13 Apr 1999 11:10:16 +0000 (11:10 +0000)
servers/slurpd/main.c

index d4ff5bcc4614869d6ba331cdab68d9aa0cd87f70..9ba0a6c8be9798de800a0568226d2ee14c0130fe 100644 (file)
@@ -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
      */