aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/ldap-wrapper.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2012-02-28 16:26:32 +0000
committerMarcus Brinkmann <[email protected]>2012-02-28 16:26:32 +0000
commit8f8c6594147608b1021c16fc3561feb96da5d55a (patch)
treebe2f06c827e2c989caf9fee90abd026b6130ec5e /dirmngr/ldap-wrapper.c
parentCheck for lber and link dirmngr_ldap to it. (diff)
downloadgnupg-8f8c6594147608b1021c16fc3561feb96da5d55a.tar.gz
gnupg-8f8c6594147608b1021c16fc3561feb96da5d55a.zip
Replace npth_yield in busy wait by npth_usleep.
* dirmngr/ldap-wrapper.c (ldap_wrapper_wait_connections): Call npth_usleep instead of npth_yield.
Diffstat (limited to 'dirmngr/ldap-wrapper.c')
-rw-r--r--dirmngr/ldap-wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dirmngr/ldap-wrapper.c b/dirmngr/ldap-wrapper.c
index 203b47263..f2aaf59d0 100644
--- a/dirmngr/ldap-wrapper.c
+++ b/dirmngr/ldap-wrapper.c
@@ -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);
}