]> git.sur5r.net Git - openldap/commitdiff
Use nanosleep in Linux sched_yield(2) workaround
authorKurt Zeilenga <kurt@openldap.org>
Tue, 10 Jan 2006 18:20:02 +0000 (18:20 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 10 Jan 2006 18:20:02 +0000 (18:20 +0000)
CHANGES
configure.in

diff --git a/CHANGES b/CHANGES
index 98ecb5e4ca2474aa1da657a40934e569177b11f1..81b3b3c495bd321ee1c15fec566ac84b9d6b4b38 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,7 @@ OpenLDAP 2.3.17 Engineering
        Fixed slapd-ldap idassert anon2anon issue (ITS#4321)
        Fixed slapd-monitor thread issue (ITS#4318)
        Build environment
+               Updated Linux sched_yield(2) workaround to use nanosleep(2) (ITS#3950)
                Fixed configure report-to URL
 
 OpenLDAP 2.3.16 Release
index 0171b1d26a43075a47a69c348ebb789ac74bd7b3..8343d6cc002e9d33d0ff70ee321b405faaede66b 100644 (file)
@@ -1589,6 +1589,7 @@ dnl                       [ol_cv_pthread_lpthread_lexc])
                        ol_replace_broken_yield=no
                        case "$target" in
                        *-*-linux*) 
+                               AC_CHECK_FUNCS(nanosleep)
                                ol_replace_broken_yield=yes
                        ;;
                        esac