mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Message waiting for N threads to terminate -> for N operations/tasks to finish
This commit is contained in:
parent
e202a4a473
commit
880a2888d8
1 changed files with 6 additions and 3 deletions
|
|
@ -2582,9 +2582,12 @@ slapd_daemon_task(
|
|||
connections_shutdown();
|
||||
}
|
||||
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"slapd shutdown: waiting for %d threads to terminate\n",
|
||||
ldap_pvt_thread_pool_backload( &connection_pool ), 0, 0 );
|
||||
if ( LogTest( LDAP_DEBUG_ANY )) {
|
||||
int t = ldap_pvt_thread_pool_backload( &connection_pool );
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"slapd shutdown: waiting for %d operations/tasks to finish\n",
|
||||
t, 0, 0 );
|
||||
}
|
||||
ldap_pvt_thread_pool_destroy( &connection_pool, 1 );
|
||||
|
||||
free( slap_listeners );
|
||||
|
|
|
|||
Loading…
Reference in a new issue