From: Kurt Zeilenga Date: Wed, 14 Jul 1999 19:32:09 +0000 (+0000) Subject: Minor pthread_yield adjustment. X-Git-Tag: OPENLDAP_REL_ENG_1_2_4~10 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bd290c6c5eafcf15cc118cdea137bee39112d980;p=openldap Minor pthread_yield adjustment. --- 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