summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads/sysdeps/pthread/pthread.h
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-08-18 02:53:54 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-08-18 02:53:54 +0000
commit7e91845af60d913d4b58f83c0044c8685c3c6ffa (patch)
treefcc0e52bea01138634b218366d8008d7e9803ca3 /libpthread/linuxthreads/sysdeps/pthread/pthread.h
parent5f7339fd738083baf7e42268301babd4324c3e3e (diff)
downloaduClibc-alpine-7e91845af60d913d4b58f83c0044c8685c3c6ffa.tar.bz2
uClibc-alpine-7e91845af60d913d4b58f83c0044c8685c3c6ffa.tar.xz
Merge from trunk.
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/pthread/pthread.h')
-rw-r--r--libpthread/linuxthreads/sysdeps/pthread/pthread.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/libpthread/linuxthreads/sysdeps/pthread/pthread.h b/libpthread/linuxthreads/sysdeps/pthread/pthread.h
index 0dacfed1c..08843d18d 100644
--- a/libpthread/linuxthreads/sysdeps/pthread/pthread.h
+++ b/libpthread/linuxthreads/sysdeps/pthread/pthread.h
@@ -24,7 +24,7 @@
#include <signal.h>
#include <bits/pthreadtypes.h>
#include <bits/initspin.h>
-#if defined _LIBC && ( defined IS_IN_libc && defined NOT_IN_libc )
+#if defined _LIBC && ( defined IS_IN_libc || defined NOT_IN_libc )
#include <bits/uClibc_pthread.h>
#endif
@@ -320,14 +320,6 @@ 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