mirror of git://git.gnupg.org/gnupg.git
Replace npth_yield in busy wait by npth_usleep.
* dirmngr/ldap-wrapper.c (ldap_wrapper_wait_connections): Call npth_usleep instead of npth_yield.
This commit is contained in:
parent
76ff42ef8d
commit
8f8c659414
|
@ -468,7 +468,7 @@ ldap_wrapper_wait_connections ()
|
|||
shutting_down = 1;
|
||||
/* FIXME: This is a busy wait. */
|
||||
while (wrapper_list)
|
||||
npth_yield ();
|
||||
npth_usleep (200);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue