From bd290c6c5eafcf15cc118cdea137bee39112d980 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 14 Jul 1999 19:32:09 +0000 Subject: [PATCH] Minor pthread_yield adjustment. --- libraries/liblthread/thr_posix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/liblthread/thr_posix.c b/libraries/liblthread/thr_posix.c index c76286d136..df8b27780e 100644 --- a/libraries/liblthread/thr_posix.c +++ b/libraries/liblthread/thr_posix.c @@ -107,7 +107,8 @@ ldap_pvt_thread_yield( void ) #ifdef HAVE_SCHED_YIELD return sched_yield(); #elif HAVE_PTHREAD_YIELD - return pthread_yield(); + pthread_yield(); + return 0; #elif HAVE_THR_YIELD return thr_yield(); #else