From da7412ee0e0dd260c3969f90bd498e229c075196 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 5 Mar 2006 04:31:16 +0000 Subject: use sched_yield, not pthread_yield --- libpthread/linuxthreads.old/sysdeps/pthread/pthread.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'libpthread/linuxthreads.old') diff --git a/libpthread/linuxthreads.old/sysdeps/pthread/pthread.h b/libpthread/linuxthreads.old/sysdeps/pthread/pthread.h index 8cd75c200..0cee6a84f 100644 --- a/libpthread/linuxthreads.old/sysdeps/pthread/pthread.h +++ b/libpthread/linuxthreads.old/sysdeps/pthread/pthread.h @@ -324,18 +324,6 @@ extern int pthread_getconcurrency (void) __THROW; extern int pthread_setconcurrency (int __level) __THROW; #endif -#if 0 -/* Not yet implemented in uClibc! */ - -#ifdef __USE_GNU -/* Yield the processor to another thread or process. - This function is similar to the POSIX `sched_yield' function but - might be differently implemented in the case of a m-on-n thread - implementation. */ -extern int pthread_yield (void) __THROW; -#endif -#endif - /* Functions for mutex handling. */ /* Initialize MUTEX using attributes in *MUTEX_ATTR, or use the -- cgit v1.2.3