mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
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…
x
Reference in New Issue
Block a user