Move ldap_pvt_thread_initialize() in front of init_globals()

This commit is contained in:
Hallvard Furuseth 1999-04-13 11:10:16 +00:00
parent ec2072f1d5
commit d9782e14f8

View 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
*/