summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/pthread.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-05 04:31:16 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-05 04:31:16 +0000
commitda7412ee0e0dd260c3969f90bd498e229c075196 (patch)
tree5966077f5709e7038a281928a2b7d3c5eabf7b0f /libpthread/linuxthreads/pthread.c
parent574ed4228838b8861cfc93c8ae890b9bbe8965f7 (diff)
use sched_yield, not pthread_yield
Diffstat (limited to 'libpthread/linuxthreads/pthread.c')
-rw-r--r--libpthread/linuxthreads/pthread.c7
1 files changed, 0 insertions, 7 deletions
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)