Commit bd290c6c authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Minor pthread_yield adjustment.

parent 5534a3d4
...@@ -107,7 +107,8 @@ ldap_pvt_thread_yield( void ) ...@@ -107,7 +107,8 @@ ldap_pvt_thread_yield( void )
#ifdef HAVE_SCHED_YIELD #ifdef HAVE_SCHED_YIELD
return sched_yield(); return sched_yield();
#elif HAVE_PTHREAD_YIELD #elif HAVE_PTHREAD_YIELD
return pthread_yield(); pthread_yield();
return 0;
#elif HAVE_THR_YIELD #elif HAVE_THR_YIELD
return thr_yield(); return thr_yield();
#else #else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment