mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Move ldap_pvt_thread_initialize() in front of init_globals()
This commit is contained in:
parent
ec2072f1d5
commit
d9782e14f8
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user