From c269fdb42faa5bfe25453b03a2d74ebb68926d99 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 16 Apr 2000 01:18:43 +0000 Subject: Update. * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and only fall back on using Linux. --- linuxthreads/pthread.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'linuxthreads/pthread.c') 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) -- cgit v1.2.3