mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02: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;
|
shutting_down = 1;
|
||||||
/* FIXME: This is a busy wait. */
|
/* FIXME: This is a busy wait. */
|
||||||
while (wrapper_list)
|
while (wrapper_list)
|
||||||
npth_yield ();
|
npth_usleep (200);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user