diff options
author | Marcus Brinkmann <mb@g10code.com> | 2012-02-28 17:26:32 +0100 |
---|---|---|
committer | Marcus Brinkmann <mb@g10code.com> | 2012-02-28 17:26:32 +0100 |
commit | 8f8c6594147608b1021c16fc3561feb96da5d55a (patch) | |
tree | be2f06c827e2c989caf9fee90abd026b6130ec5e /dirmngr | |
parent | Check for lber and link dirmngr_ldap to it. (diff) | |
download | gnupg2-8f8c6594147608b1021c16fc3561feb96da5d55a.tar.xz gnupg2-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')
-rw-r--r-- | dirmngr/ldap-wrapper.c | 2 |
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); } |