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:
Marcus Brinkmann 2012-02-28 17:26:32 +01:00
parent 76ff42ef8d
commit 8f8c659414
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}