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/pthread.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'libpthread/linuxthreads/pthread.c') diff --git a/libpthread/linuxthreads/pthread.c b/libpthread/linuxthreads/pthread.c index 202dbc7b8..dac7ab1b0 100644 --- a/libpthread/linuxthreads/pthread.c +++ b/libpthread/linuxthreads/pthread.c @@ -959,13 +959,6 @@ int __pthread_getschedparam(pthread_t thread, int *policy, } strong_alias (__pthread_getschedparam, pthread_getschedparam); -int __pthread_yield (void) -{ - /* For now this is equivalent with the POSIX call. */ - return sched_yield (); -} -weak_alias (__pthread_yield, pthread_yield) - /* Process-wide exit() request */ static void pthread_onexit_process(int retcode, void *arg) -- cgit v1.2.3