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/sysdeps/pthread/pthread.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'linuxthreads/sysdeps/pthread') diff --git a/linuxthreads/sysdeps/pthread/pthread.h b/linuxthreads/sysdeps/pthread/pthread.h index de00130029..e82c4deb99 100644 --- a/linuxthreads/sysdeps/pthread/pthread.h +++ b/linuxthreads/sysdeps/pthread/pthread.h @@ -272,6 +272,14 @@ extern int pthread_getconcurrency (void) __THROW; extern int pthread_setconcurrency (int __level) __THROW; #endif +#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 + /* Functions for mutex handling. */ /* Initialize MUTEX using attributes in *MUTEX_ATTR, or use the -- cgit v1.2.3-70-g09d2