summaryrefslogtreecommitdiff
path: root/linuxthreads/pthread.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-16 01:18:43 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-16 01:18:43 +0000
commitc269fdb42faa5bfe25453b03a2d74ebb68926d99 (patch)
tree37d54f45bf275e76565baffc393f568a288d6809 /linuxthreads/pthread.c
parent145b84138f8b1fca851196451ab0f21a054ae754 (diff)
downloadglibc-c269fdb42faa5bfe25453b03a2d74ebb68926d99.tar.gz
Update.
* csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and only fall back on using Linux.
Diffstat (limited to 'linuxthreads/pthread.c')
-rw-r--r--linuxthreads/pthread.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c
index eca90635b0..ae747bc5ac 100644
--- a/linuxthreads/pthread.c
+++ b/linuxthreads/pthread.c
@@ -634,6 +634,13 @@ int pthread_getschedparam(pthread_t thread, int *policy,
return 0;
}
+int __pthread_yield ()
+{
+ /* 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_exit_process(int retcode, void *arg)